1//disparador 2rules_emailAlias = { 3 check : function() { 4 $('#Email1').change(rules_emailAlias.act); 5 6 }, 7 act : function() { 8 objNick = getObject('Nickname'); 9 if (objNick.value == "") { 10 NicknameFromEmail = getObject('Email1').value; 11 var arr = NicknameFromEmail.lastIndexOf('@'); 12 if (arr != -1 && arr != 0) { 13 OfferNicknameA = NicknameFromEmail.split('@'); 14 OfferNickname = OfferNicknameA[0]; 15 if (OfferNickname != "") { 16 $.get('/checkDisponibility.html', { 17 Nickname : OfferNickname 18 }, function(data, textStatus) { 19 if (data == 1) { 20 objNick.value = OfferNickname; 21 $("#msj_Nickname").hide(); 22 $("#msj_Nickname_comprobando").hide(); 23 $("#msj_Nickname_ko").hide(); 24 $("#msj_Nickname_ok").show(); 25 } 26 }); 27 28 } 29 } 30 } 31 } 32} 33$(document).ready(rules_emailAlias.check);
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.