Retrieve value from form
Posted
by vetri
on Stack Overflow
See other posts from Stack Overflow
or by vetri
Published on 2010-05-07T06:29:34Z
Indexed on
2010/05/07
6:38 UTC
Read the original article
Hit count: 235
My form is like
<form action="javascript:;" method="post" id="reportForm">
<input type="text" name="as" maxlength="3" />
--CODE--
<html:hidden property="reportid" value="${Scope.reportId}" />
--code--
</form>
I can retrieve values from the form in javascript like
this.form = dojo.byId('reportForm');
this.as1 = this.form.as;
How can i retrieve the value of the html:hidden tag property.
© Stack Overflow or respective owner