Search found 2 matches

by XF|Fatalpixel
Thu May 13, 2004 5:31 am
Forum: PHP - Code
Topic: PHP Varibles to Javascript for repeating textareas
Replies: 0
Views: 198

PHP Varibles to Javascript for repeating textareas

I am having a problem. Here is a javascript I have adapted. Its from NOWv1.2.3 JS TextControls. function insertAtCursor(myField, myValue) { //IE support if (document.selection) { myField.focus(); sel = document.selection.createRange(); sel.text = myValue; } //MOZILLA/NETSC...
by XF|Fatalpixel
Wed May 12, 2004 12:56 pm
Forum: PHP - Code
Topic: Insert Items each side of selected text - How?
Replies: 1
Views: 181

Insert Items each side of selected text - How?

I am fairly new to this so bear with me. I have a form where people fill in all sorts of information. I then use FPDF to generate a PDF. All well and good, FPDF, provide an nice HTML parser. My problem is that some users do not know, or can't be bothered to enter the HTML markup. I am not using much...