For a simple example of form submission through HTML, see Example: setting forms property attributes.
<html> <head> <title>submitForm1_new</title> <meta NAME="HandheldFriendly" CONTENT="True"> </head> <body> <h3>Testing: agsubmitMessage, agsubmitOffsiteLinks, agsubmitIncludeImages, agsubmitLinkDepth, agsubmitSize, agsubmitDiscardResponse, agsubmitMultiple, agsubmitHidden, agsubmitDisplayDefaultMessage.</h3> <p>What to expect:<br> |
1. agsubmitMessage=null <br> 2. agsubmitOffsiteLinks=false<br> 3. agsubmitIncludeImages=false: No image should be downloaded.<br> 4. agsubmitLinkDepth=0: all links are dead from the response page<br> 5. agsubmitSize=100<br> 6. agsubmitDiscardResponse=false: response pages available<br> 7. agsubmitMultiple=true: the text field will not retain the old value<br> 8. agsubmitHidden=false: form will appear in the Forms Manager<br> 9. agsubmitDisplayDefaultMessage=false: No default form submission message.<br> |
<form action=http://search.yahoo.com/bin/search agsubmitMessage=null agsubmitOffsiteLinks=false agsubmitIncludeImages=false agsubmitLinkDepth=0 agsubmitSize=100 agsubmitDiscardResponse=false agsubmitMultiple=true agsubmitHidden=false agsubmitDisplayDefaultMessage=false> |
<input size=15 name=p><BR> <INPUT TYPE=submit VALUE="Search"> <INPUT TYPE=reset> </form> 1. Do offline submit. You should see a "null" alert. </body> </html> |
Send feedback about this page using email. | Copyright © 2008, iAnywhere Solutions, Inc. |