Side navigation
#8829 closed bug (invalid)
Opened April 09, 2011 05:45AM UTC
Closed April 09, 2011 02:44PM UTC
cannot use .css() after using .parent().prev()
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | 1.next |
Component: | unfiled | Version: | 1.5.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
i dont seem to be able to use .css() after getting to an element like so:
$("#id_selector").parent().prev().css()
firebug's console:
firebu...rver.js (line 169)
<System>
>>> $("#account_options").parent().prev().css()
TypeError: a is undefined
[Break On This Error] (function(a,b){function ci(a){return d...a:a+"px")}}),a.jQuery=a.$=d})(window);
jquery.min.js (line 16)
Invalid chrome URI: /a
also the error
"Invalid chrome URI: /a"
kept being written to the console when i hovered over this line (in the console itself):
[Break On This Error] (function(a,b){function ci(a){return d...a:a+"px")}}),a.jQuery=a.$=d})(window);
I created a quick test to check this - http://jsfiddle.net/pdjk/52RPK/
I wasn't able to replicate the issue using Chrome 12, 11, or 10(on OS X), or Firefox 3.5 or 4 (Windows or OS X).
Can you provide a test case (preferably using jsfiddle.net) to show the issue?
As a side note - http://groups.google.com/group/mozilla.dev.extensions/browse_thread/thread/01530ddbe9ad3612/c385039170220507
http://code.google.com/p/fbug/issues/detail?id=633
Both reference the exact error you mentioned, may be worth looking into. =]
pdjk