-
Is inner html elements can recognised by form or not ?
Hi,
In my web page, iam trying to show the form elements dynamically.
when user clicks on lets say link-1, then i have to show the text box and button. and i done like this:
document.getElementById(divall).innerHTML=
'<textarea name="message" cols="80" rows="2"></textarea>
<input type="button" class="button" name="messagebutton" value="Send" onclick="send(this.form,id)";/>'
Here, textarea is not recognised by the form.
Is inner html elements can recognised by form or not ?
Thanks in advance.
Regards,
Mohan
-
-
Not. Use DOM level 2 create and append when adding elements to forms.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks