26 Jul
2004
26 Jul
'04
2:37 p.m.
--On Montag, 26. Juli 2004 10:22 Uhr -0400 Asad Habib <ahabib@engin.umich.edu> wrote:
Hello. Is there a way to access the value of the id attribute of an input element? I have an input element which serves as a submit button for a form. The following is my code:
<input type="submit" id="button1" name="button" value="Add" />
I know how to access the value of the button but is there a way to access the value of the id attribute using REQUEST.form? Any help would be greatly appreciated. Thanks.
NO. 'id' is used in HTML for CSS issues but never transmitted through HTTP! if you need the info then use hidden input fields...somehow. -aj