how to change the action of form in javascript code example
Example 1: change form action js
var frm = document.getElementById('search-theme-form') || null;
if(frm) {
frm.action = 'whatever_you_need.ext'
}
Example 2: change form action js
$('form').attr('action', 'myNewActionTarget.html');