$('form').submit(function(){ this.action="http://www.sitename.com/post"; return false; });
changing the form action attribute, I want to add another input parameter to it, how to do it?
Just add an input element:
$('form').append('<input type="hidden" name="newParam" value="Hello" />');
Source: https://habr.com/ru/post/1739460/More articles:How to get Eclipse to work with fragment macro in maven doxia files? - eclipsePlanning and meeting deadlines at Scrum - scrumfile extension .csp - fileMonitoring a database table for external changes from a Rails application - ruby-on-railsPassing a hierarchy table with Linq - c #iPhone XML SOAP Requests or .NET Web Services - soapCan Amazon.com be used as an authentication provider - amazonhow to link url activemq-core.xsd with activemq.xsd found in jar file? - activemqHow to execute a function called many times, only once! - c ++Can I mix JNA with JNI - javaAll Articles