¡@

Home 

2014/10/16 ¤W¤È 12:06:01

jquery Programming Glossary: openid

Changing the action of a form with javascript/jquery

http://stackoverflow.com/questions/979024/changing-the-action-of-a-form-with-javascript-jquery

the action of a form with javascript jquery I'm having an issue that is driving me crazy. I'm trying to modify the openid selector to support facebook. I'm using RPXNow as my provider so it requires the form to be submitted to a different url.. the standard. For example. RpxNow requires me to setup my form like this form action https wikipediamaze.rpxnow.com openid start token_url ... This works for every provider except for facebook and myspace. Those require the form to be posted to.. myspace start token_url ... The open id selector has a bunch of buttons on the form each representing the openid providers. What I'm trying to do is detect when the facebook or myspace button is clicked and changed the action on the..