[Zope] Accessing the id attribute of an input element
Andreas Jung
lists at andreas-jung.com
Mon Jul 26 10:37:17 EDT 2004
--On Montag, 26. Juli 2004 10:22 Uhr -0400 Asad Habib
<ahabib at 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
More information about the Zope
mailing list