You are here: irt.org | FAQ | JavaScript | Link | Q622 [ previous next ]
The only way you can submit data using POST is by a form. You can combine a hidden form with a hypertext link to perform this though:
<FORM METHOD="POST" NAME="myForm"> <INPUT TYPE="HIDDEN" NAME="NAME1" VALUE="value1"> <INPUT TYPE="HIDDEN" NAME="NAME2" VALUE="value2"> </FORM> <A HREF="#" onClick="document.myForm.submit();return false">text link</A>