automatically submit data into HTML form

March 17, 2011 at 07:35:54
Specs: Windows XP
I'm looking to have some code so that when a user clicks on a link within a newsletter it automatically submits unsubscribe data to a sever using (without them having to also click on Submit button. See following code:

<form action='' method='post'>
<input type='hidden' name='xnQsjsdp' value='x15zzpFa7yc$'/>
<input type='hidden' name='actionType' value='dW5zdtttaazY3JpYmU='/>
<input type='hidden' name='returnURL' value='' />
<input type="hidden" name='email' value='' />
<input type='submit' value='Unsubscribe'/>


Question is now do this without the Submit button and only using the a link within the newsletter.


See More: automatically submit data into HTML form

Report •

March 18, 2011 at 03:50:04
One way to do this is to use a javascript "onload" method to automatically post the form. Have a look at this thread.

Report •
Related Solutions

Ask Question