How can I set textarea setAttribute value in FireFox. When I print my form it doesn't print any thing inside FireFox. It prints it blank. [CODE] var AddlInfo= IntakeForm.getElementsByTagName('textarea')[0]; AddlInfo.setAttribute("value",AddlInfo.value); [/CODE] Thanks.[/QUOTE] What does this markup produce inside a textarea element?
<textarea id='tBox' value="Death to cross posters"></textarea>
@asifakhtarauthorJun 29.2010 — #I created textarea dynamically. I want setAttribute because when I print the form with the values, it print textarea blank.
The markup produce is : [code=html]<textarea name="" id="AdditionalInfo" rows="6" cols="200"></textarea>[/code]
I tried ur code and it doesn't work. Just to let you know that I am only having this problem while printing the form, not saving the form. The form saves the teaxtarea with the value..