Hi,

I'd like to access the value of a dbforms textField with Javascript. Is that possible?

example:
  in the JSP:
  <db:textField fieldName="TABLE_ID" />
  traslated to HTML:
  <input type="text" name="[EMAIL PROTECTED]" value="107134" />

  javascript method should be:
  var myvalue = document.dbform.elements["[EMAIL PROTECTED]"].value;

But how can I know the name "[EMAIL PROTECTED]" of the field?

Thanks and bye,
Jan.


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
DbForms Mailing List

http://www.wap-force.net/dbforms

Reply via email to