Accessing form objects when there are multiple forms(advanceddotnettutorial.blogspot.com)
submitted by
learndotnet(1053) 1 year, 7 months ago
In order to access a form through Javascript, we need to obtain a reference to the form object. One obvious way to approach, which you have already seen, is to use the getElementById method. For instance, if we had a form with the id attribute "subscribe_frm", we could access the form in this way:
|category: Tips & Tricks
|Views: 0
tags:
Tips another
Everyones tags:
Your Tags: