faqts : Computers : Programming : Languages : JavaScript : Forms

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

121 of 148 people (82%) answered Yes
Recently 8 of 10 people (80%) answered Yes

Entry

Can I process a POST form submission with client side JavaScript?

Mar 15th, 2000 15:11
Martin Honnen,


No, you can't. You can do a POST submission with client side JavaScript 
e.g.
  <FORM NAME="formName" METHOD="post" ACTION="whatever.cgi">
then
  document.formName.submit()
will do the POST submission but client side JavaScript can not process 
such a FORM submission as it has no acess to the POSTed data.