Modify ↓
Ticket #9562 (closed enhancement: worksforme)
attr function does not work with firefox 4
| Reported by: | hanggara.prameswara@… | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | 1.next |
| Component: | attributes | Version: | 1.6.1 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
Hi,
I'm using the following code:
$("form").attr("action","someUrl");
Looks like that code doesn't work with firefox 4.
Thanks
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

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