how to add an input parameter to a form using jQuery

Posted by Bunny Rabbit on Stack Overflow See other posts from Stack Overflow or by Bunny Rabbit
Published on 2010-04-01T12:48:25Z Indexed on 2010/04/01 12:53 UTC
Read the original article Hit count: 227

Filed under:
 $('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 ?

© Stack Overflow or respective owner

Related posts about jQuery