Tuesday, July 11, 2017

document.submit() with mutiple submit buttons

I have the following form, I want to submit the form via the document submit function, and emulate the "ac_quit" button being clicked. Not sure how to tell the submit that its the ac_quit button being submitted. I know I should have quotes in the below, but inherited this code, and this the way it came.document.getElementById("ac_chat").submit(); <form action="<?php echo $ac_www . $ac_chf; ?>" method=POST id=ac_chat accept-charset=UTF-8><input name=ac_post... ... Read the entire article at the source link...

http://codango.com/document-submit-with-mutiple-submit-buttons/

I am happy to share this resource that we found. The content displayed on this page is property of its original author or their organization.

No comments:

Post a Comment