Custom Query (13852 matches)
Results (22 - 24 of 13852)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#14571 | duplicate | bug about checkbox in 1.10.2 and 2.0.2 | ||
Description |
<!DOCTYPE html> <html lang="en" xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8" /> <title></title> <script src ="jQuery/jquery-1.10.2.min.js"></script> </head> <body> <input id="allChk" type="checkbox" /><label for ="allChk">AllCheck</label><br /> <input name="chk" id="Chk1" type="checkbox" /><label for ="Chk1">Check1</label><br /> <input name="chk" id="Chk2" type="checkbox" /><label for ="Chk2">Check2</label><br /> <input name="chk" id="Chk3" type="checkbox" /><label for ="Chk3">Check3</label><br /> <input name="chk" id="Chk4" type="checkbox" /><label for ="Chk4">Check4</label> </body> </html> <script type="text/javascript"> $("#allChk").click(function () { $("input[name='chk']").attr('checked', this.checked); alert($('#Chk4').attr('checked')); }); </script> When i click the 'AllCheck' third time,check4's attribute shows "checked",but it's not checked in the page,it also occured in 2.0.2, but 1.8.3 works well. |
|||
#6675 | fixed | makeArray fails on objects with a length property | ||
Description |
Try: jQuery.makeArray( {'length':5} ); in the firebug console on any jQuery site and it will output [undefined, undefined, undefined, undefined, undefined] when it should return [Object { length=5}] This is causing issues where I have an object with a length and width attribute, since it will not pass through makeArray properly. |
|||
#11364 | invalid | ajax Basic Authentification does not seem to work in latest Chrome nightlies | ||
Description |
This test: $.ajax(tabulatabsServerPath + 'hello/hello_secure.json', { type: 'GET', username: 'Tester', password: 'greets', success: function(r) { equal(r.greeted, 'Hello Tester!', 'authentification is working'); start(); } }); always returns 401 not authorized in the latest Chrome Betas/Chrome Canries I could fix it by manually setting the Authorization request header in the beforeSend callback: $.ajax(tabulatabsServerPath + 'hello/hello_secure.json', { type: 'GET', username: 'Tester', password: 'greets', beforeSend: function(jqXHR, settings) { if (settings.username) { jqXHR.setRequestHeader('Authorization', 'Basic ' + base64_encode(settings.username + ':' + settings.password) + '=='); } }, success: function(r) { equal(r.greeted, 'Hello Tester!', 'authentification is working'); start(); } }); |