Mike Burdick
05-03-2007, 10:53 PM
Hi,
How does one pre-populate a textarea.
Thanks...
How does one pre-populate a textarea.
Thanks...
|
Click to See Complete Forum and Search --> : Textarea question regarding pre-populating. Mike Burdick 05-03-2007, 10:53 PM Hi, How does one pre-populate a textarea. Thanks... CrazyMerlin 05-04-2007, 01:37 AM it all depends on where the data you want to populate is from Beedge 05-04-2007, 04:18 AM <form action="" method="get"> <textarea name="" cols="" rows="">Default text</textarea> </form> Mike Burdick 05-04-2007, 06:32 AM Well... I have a text string generated from a perl script and I was wondering if there is a better technique then this? Remember this is in a perl script, dynamically creating a web page javascript function, hence the $note_string variable. This function is requested with onLoad to fill the textarea when the page is loaded. function fillTextArea(){ var object=document.getElementById("notes1"); object.value="$note_string"; } webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |