Skip to main content

Bug Tracker

Side navigation

#9562 closed enhancement (worksforme)

Opened June 11, 2011 08:27AM UTC

Closed June 11, 2011 11:15AM UTC

attr function does not work with firefox 4

Reported by: hanggara.prameswara@gmail.com Owned by:
Priority: low Milestone: 1.next
Component: attributes Version: 1.6.1
Keywords: Cc:
Blocked by: Blocking:
Description

Hi,

I'm using the following code:

$("form").attr("action","someUrl");

Looks like that code doesn't work with firefox 4.

Thanks

Attachments (0)
Change History (1)

Changed June 11, 2011 11:15AM UTC by addyosmani comment:1

component: unfiledattributes
priority: undecidedlow
resolution: → worksforme
status: newclosed

Thanks for submitting a ticket to the jQuery Project! I've put together a test case that demonstrates your code sample here: http://jsfiddle.net/KhVbF/1/ with our current jQuery edge build. Testing this with Firefox 4 (as well as Chrome, Safari etc) there appears to be no problem with setting the action correctly as my form is able to successfully change the action to jQuery.com without issue. Please try checking your code again or test with jQuery git: http://code.jquery.com/jquery-git.js