[UPHPU] javascript form element... get form ID
Sheri Bigelow
sheri at designsimply.com
Mon Jul 14 17:58:15 MDT 2008
On Mon, Jul 14, 2008 at 5:22 PM, Wade Preston Shearer <lists at wadeshearer.com>
wrote:
> Is there an easier way to get the ID of a form that an element is within
> than walking back up the DOM tree?
Assuming the element is a direct descendent, you could use parentNode.
See
http://www.java2s.com/Code/JavaScriptReference/Javascript-Properties/parentNodeExample.htm
More information about the UPHPU
mailing list