Forum Moderators: open
Now if the DIV(id=X) element has a form with a textbox, How to access the value of Textbox in Javascript?
Content of DIV (id=X)
<form name=myForm>
<input type=text name=myText value='Hello'>
</form>
document.forms['formname'].textboxname.value
If you have multiple forms in multiple DIVs then make sure you give each form a unique name so that you can ensure you access the correct one. This is assuming I understand your problem which I may not. If I'm going off on a tangent you may want to post a code snippet or stickyMail me the URL so I can have a look at what you're trying to do in full.
J