1$(document).ready(function () { 2 $(".MakeaNet-Registrate").corner("keep 10px"); 3}); 4 5function CompruebaIntro(e) { 6 if (e.which == 13) { 7 var emilio = $(".RegisterMail").val(); 8 if ((emilio != null) && (emilio != undefined) && (emilio != '')) { 9 $.ajax({ 10 type: "POST", 11 url: "/WebServices/Users.asmx/SendMessageRegisterUser", 12 data: "{email:'" + emilio + "'}", 13 contentType: "application/json; charset=utf-8", 14 dataType: "json", 15 success: function (data) { 16 OnSuccessSendMessageRegisterUser(data); 17 } 18 }); 19 } 20 } 21} 22 23function RegisterUser() { 24 var emilio = $(".RegisterMail").val(); 25 if ((emilio != null) && (emilio != undefined) && (emilio != '')) { 26 $.ajax({ 27 type: "POST", 28 url: "/WebServices/Users.asmx/SendMessageRegisterUser", 29 data: "{email:'" + emilio + "'}", 30 contentType: "application/json; charset=utf-8", 31 dataType: "json", 32 success: function (data) { 33 OnSuccessSendMessageRegisterUser(data); 34 } 35 }); 36 } 37} 38 39function OnSuccessSendMessageRegisterUser(result) { 40 var obj = $.parseJSON(result.d) 41 if (obj.OK) { 42 $("#ConfirmacionRegistroUsuario").jmNotify(); 43 } 44 else { 45 if (obj.Description == 'Duplicado') { 46 location.href = '/Net/Entidad.aspx'; 47 } 48 else { 49 $("#ConfirmacionNoRegistroUsuario").jmNotify(); 50 } 51 } 52}
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.