[thelist] accessing a form within a div created on-the-fly

Eric Costello eric at schwa.com
Mon Aug 14 01:36:09 CDT 2000


>Currently only developing on IE

Then change this:
	document.body.all.item(divId).forms(0).messageBox.value

to this:
	document.all.forms(0).messageBox.value

and I think you'll be alright. Document.all actually does hold "all" the
page elements. You don't heve to reference the form through the div that
contains it (you're thinking like a "Netscape person" ;).

Eric

Eric Costello
eric at schwa.com
http://glish.com






More information about the thelist mailing list