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
just to add a detail to what Tamlyn wrote, instead of $('form').get(0).setAttribute('action', 'baz'); //this works
$('form').get(0).setAttribute('action', 'baz'); //this works
$('form')[0].setAttribute('action', 'baz'); works equally well
$('form')[0].setAttribute('action', 'baz');