Bug Tracker

Custom Query (13852 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (1 - 3 of 13852)

1 2 3 4 5 6 7 8 9 10 11
Ticket Resolution Summary Owner Reporter
#12473 worksforme why in input tag<input id="test" style="visibility:hidden;"/> that $("#test").is(":hidden") result is not right? 赖扬文 [email protected]
Description

<input id="test" style="visibility:hidden;"/> <script>

$(function(){

var isVisible=$("#test").is(":visible"); var isHidden=$("#test").is(":hidden"); alert("isVisible:"+isVisible);should false ,but true, why? alert("isHidden:"+isHidden);should true, but false,why? if replace "input" to "div" that will been right 如果将input替换成div的话就不会有这样的bug

});

</script>

#12702 notabug $(string) somethings not right 丁雷 shanghai, [email protected]
Description

$(string) changed string uppercase to lowercase: example: var xx = '<div><table><tr><td><input type="text" positiveNumber="true"/></td></tr></table></div>'; console.log(xx); xx = $(xx); console.log(xx.html()); summary: it makes positiveNumber to positivenumber

#8763 fixed Unhandled exception: document.defaultView.getComputedStyle(div, null) is null (FF, hidden iframe) Rick Waldron Đonny
Description

When there is jQuery in iframe which is hidden follwing error occurs in Firefox 4: Error: document.defaultView.getComputedStyle(div, null) is null Source: jquery.js Line: 1286 It works fine in Chrome and IE8.

This is probably related to http://bugs.jquery.com/ticket/8635.

How to replicate:

see sample here: http://dzonny.cz/misc/jQueryBug/main.htm

or

--- main.html ---

...
<div style="display:none">
    <iframe src="iframe.htm" width="601" height="601"></iframe>
</div>
...

--- iframe.html ---

...
<head>
    <title>Iframe</title>
    <script src="jquery.debug.js" type="text/javascript"></script>
</head>
<body>
    <h2>Iframe</h2>
    <script type="text/javascript">
        //<![CDATA[
        $(document).ready(function () {
            alert('I\'m ready!');
        });
        //]]>
    </script>
</body>
...

Environment: FF4x86, Windows 7 x64

Symptoms: Error in FF JS console, alert not shown

Expected behavior: No error, alert is shown

1 2 3 4 5 6 7 8 9 10 11
Note: See TracQuery for help on using queries.