1$(document).ready(function() { 2 3 /* Placeholder for IE */ 4 if($.browser.msie) { // УÑловие Ð´Ð»Ñ Ð²Ñзова ÑолÑко в IE 5 $("form").find("[placeholder]").each(function() { 6 var tp = $(this).attr("placeholder"); 7 $(this).attr('value',tp).css('color','#434343;'); 8 }).focusin(function() { 9 var val = $(this).attr('placeholder'); 10 if($(this).val() == val) { 11 $(this).attr('value','').css('color','#434343'); 12 } 13 }).focusout(function() { 14 var val = $(this).attr('placeholder'); 15 if($(this).val() == "") { 16 $(this).attr('value', val).css('color','#434343'); 17 } 18 }); 19 20 /* Protected send form */ 21 $("form").submit(function() { 22 $(this).find("[placeholder]").each(function() { 23 var val = $(this).attr('placeholder'); 24 if($(this).val() == val) { 25 $(this).attr('value',''); 26 } 27 }) 28 }); 29 } 30});
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.