1// JavaScript Document 2function valid() 3{ 4 if(document.frm.answer.value=="") 5 { 6 alert("Enter Your Answer here"); 7 document.frm.name.focus(); 8 return false; 9 } 10 11 12 13 14 15 16} 17function isEmail(str) { 18 if (/^[a-zA-Z0-9]+([\.-]?\w+)*@[a-zA-Z0-9]+([\.-]?\w+)*(\.[a-zA-Z]{2,3})+$/i.test(str)) 19 20 { 21 return true; 22 } 23 else 24 { 25 return false; 26 } 27 }
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.