jquery, changing form action

Posted by Jason on Stack Overflow See other posts from Stack Overflow or by Jason
Published on 2010-03-23T00:05:46Z Indexed on 2010/03/23 0:11 UTC
Read the original article Hit count: 726

Filed under:
|
|
|
|

i cannot seem to find the answer to this. i uploaded code to pastebin (so wouldnt clutter up the post):

http://pastebin.com/BhnNTnJM

but the action only changes for the delete form (id=form-horse-delete) and not the other 2 forms located on the page. i am at my wits end trying to figure out why it doesn't work for the 2 forms, yet will work for the 1 form.

in IE, if i try and change the action of the 2 forms, it gives a javascript error. but if i take out the change, it works fine with no javascript error.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery