tags:

views:

19

answers:

1

In jquery, I need to reference a form, change the action url, then post it.

So I can get my form using the ID like:

$("#frmtest")

Now I want to change the action url, then post it.

+6  A: 
$("#frmtest").attr("action", myNewActionUrl).submit();
Epeli