Side navigation
#8757 closed bug (worksforme)
Opened April 03, 2011 08:22AM UTC
Closed April 16, 2011 09:29PM UTC
Last modified March 14, 2012 05:29PM UTC
$(“input:checked”).length not working in opera after go back in browser history
Reported by: | 512gb@mail.com | Owned by: | 512gb@mail.com |
---|---|---|---|
Priority: | low | Milestone: | 1.next |
Component: | selector | Version: | 1.5.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Hi guys here is some incorrect behavior in opera when using $(“input:checked”).length
The detailed description is here:
Shortly, after going back in history Opera returns $(“input:checked”).length equal to 0 instead of correct value, at the same time $(“input:checked”).size() returning correct value.
Tested in jQuery 1.5.1 and 1.5.2 all the same.
Could you let me know what is the reason of that issue.
Alex
Attachments (0)
Change History (6)
Changed April 03, 2011 08:55AM UTC by comment:1
Changed April 04, 2011 06:00PM UTC by comment:2
I've created a jsFiddle for this http://jsfiddle.net/boushley/NU2LK/ However I don't see the behavior you're talking about. It seems to work fine, even when using the back button. Can you give any more specifics?
Changed April 04, 2011 06:03PM UTC by comment:3
owner: | → 512gb@mail.com |
---|---|
status: | new → pending |
Please provide a test case on http://jsfiddle.net that reproduces your issue.
Changed April 15, 2011 04:54AM UTC by comment:4
component: | unfiled → selector |
---|---|
priority: | undecided → low |
Changed April 16, 2011 09:29PM UTC by comment:5
resolution: | → worksforme |
---|---|
status: | pending → closed |
Testing the issue you've experienced using jQuery (edge) and following the steps of going back and forth through the Opera history, I haven't been able to reproduce the issue you've described either. http://jsfiddle.net/addyosmani/NU2LK/5/ As at least two members of the team have not been able to reproduce the behaviour we'll be closing this ticket for now. If this is still an issue or you have further useful comments that you would like us to review, feel free to comment on this ticket at a later date. Team members do check closed tickets with recent comments on them from time to time.
Changed June 03, 2011 10:20AM UTC by comment:6
Opera Version 11.11 Build 2109 Win32 Windows XP
going to fiddle -> checking second box -> going to opera home -> going back -> clicking -> "the size of input:checked is 1, the length is 1"
screenshot follows:
seems to me as a opera bug though
Updates:
You should read $(“input:checked”).size() also returning incorrect value (the same value as .length).