1// Change cursor for AJAX calls so that the user doesn't think nothing is happening 2 3$(document).ready(function () { 4 // Change cursor when AJAX call is made 5 Sys.WebForms.PageRequestManager.getInstance().add_beginRequest(changeCursorToWait); 6 7 // Change cursor back when AJAX call is done 8 Sys.WebForms.PageRequestManager.getInstance().add_endRequest(changeCursorToDefault); 9}); 10 11function changeCursorToWait() { 12 // For body 13 document.body.style.cursor = "wait"; 14 15 // For specific elements 16 var links = $("a,select,option,input"); 17 for (var i = 0; i < links.length; i++) { 18 links[i].style.cursor = "wait"; 19 } 20} 21 22function changeCursorToDefault() { 23 // For body 24 document.body.style.cursor = ""; 25 26 // For specific elements 27 var links = $("a,select,option,input"); 28 for (var i = 0; i < links.length; i++) { 29 links[i].style.cursor = ""; 30 } 31}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.