$('form').submit(function(){
this.action="http://www.sitename.com/post";
return false;
});
having altered the action attribute of the form ,i want to add one more input parameter to it how do i do that ?
Just append an input element:
$('form').append('<input type="hidden" name="newParam" value="Hello" />');
name attribute? Maybe you could post the whole code that you tried?