hwg-languages archives | Aug 2000 | new search | results | previous | next |
Submiting a form via hrefby "Derek Lavine" <derek(at)realware.com.au> |
|
Hi people of HWG Is it possible to submit a form using a href e.g. <form name=test" action="myaction.cfm" method="post"> <input type="text" name="field1" value=""> <input type="text" name="field2" value=""> <a href="submit('sometext to indicate what link was clicked">Click this</a> <a href="submit('sometext to indicate another link was clicked">Click that</a> </form> In fact is it possible to call any function I have defined from a href and then from there actually sumbit the for and of course all the form fields to the action associated with the form. If this cannot be done what is the best way to do this with out using those ugly gray submit buttons. If the only other approach is to use a graphic and the <input ...> tag I will do that but I was hopping to avoid the graphic if possible. Thanks for your help and suggestions Derek
HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA