Example of setting forms property attributes through JavaScript:
document.forms[0].setAttribute('agsubmitLinkDepth', 3); document.forms[0].setAttribute('agsubmitHidden', true); document.forms[0].setAttribute('agsubmitDiscardResponse', true); |
Example of setting forms property attributes through HTML:
<form action=http://search.yahoo.com/bin/search agsubmitLinkDepth=3 agsubmitDiscardResponse=true agsubmitHidden=true> |
For a more complex example of form submission through HTML, see Form submission through HTML: complex example.
Send feedback about this page using email. | Copyright © 2008, iAnywhere Solutions, Inc. |