Bug Tracker

Custom Query (13852 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (34 - 36 of 13852)

2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
Ticket Resolution Summary Owner Reporter
#15211 migrated contains a 'value' attribute selector not working in IE8 alexey_kay
Description

In firefox, chrom, ie9+ works as expectd, logs values hello and hello again. In ie8 (emulator and the real one) logs for non existing values as well - had to add a fix to check if value is nothing

<html>
<head>
    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $("input[type=hidden][id$='HF'][value]").each(function (index) {
                console.log($(this).val())
            });
        });
    </script>
</head>
<body>
    <input type="hidden" id="1HF" />
    <input type="hidden" id="2HF" />
    <input type="hidden" id="3HF" value="hello" />
    <input type="hidden" id="4HF" value="hello again" />
</body>
</html>

#15210 migrated 2.1.2-pre, ajax.js: environments that don't have 'location' variable will break brianblocker
Description

It appears that the change which removes the "IE workaround" on ajax.js now breaks environments that do not have window.location. To be specific:

(from https://github.com/jquery/jquery/blob/master/src/ajax.js#L44) ajaxLocation = location.href,

When I try to run automated tests using jasmine-node, location is undefined (because there is no "browser" sorta), and therefore the test breaks. Using the previous version (2.1.1-pre) works fine, but it appears that the change introduced in 2.1.2-pre now breaks the environment.

#15209 patchwelcome Scripts not being evaluated Dasher225
Description

Scripts are not being evaluated when I expect them to.

See here: http://jsfiddle.net/fz53r1kj/1/

In the jsFiddle, str1 is equal to the following. str2 is the same without the first script (which sorts).


<script>

var i, len, sortedChildren;

sortedChildren = $('.rows').children().sort(function (a, b) {

return $(a).data('rank') < $(b).data('rank') ? -1 : 1;

});

for (i = 0, len = sortedChildren.length; i < len; i++) {

child = sortedChildren[i]; $('.rows').append(child);

}

</script>

<div class="rows">

<div data-rank="3">

Three <script>$(‘[data-rank=3]’).css(color: ‘red’);</script>

</div>

<div data-rank="2">

Two

<script>$(‘[data-rank=2]’).css(color: ‘green’);</script>

</div>

<div data-rank="1">

One <script>$(‘[data-rank=1]’).css(color: ‘blue’);</script>

</div>

</div>


When appending str1, the scripts in the rows do not run. When appending str2, the scripts in the rows run.

Thus it appears appending the elements a second time prevents the scripts inside from running.

Using jsFiddle this appears in chrome, firefox, and safari on Mac for all jquery versions 1.9.1 and later. It works as expected in 1.8.3 and earlier.

2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
Note: See TracQuery for help on using queries.