1document.addEventListener('DOMContentLoaded', function() { 2 $(document).on('focusout',"[name='" + window.field_id + "']", function () { 3 if ($(this).val().match(/^[-._a-z0-9]+@(?:[a-z0-9][-a-z0-9]+\.)+[a-z]{2,6}$/)) { 4 var obj = new Object(); 5 obj.email = $(this).val(); 6 $.ajax( 7 { 8 url: "/bitrix/services/newit.abandonedcarts/add_elem.php", 9 dataType: "text", 10 data: obj, 11 type: "post", 12 success: function (ans) { 13 console.log(ans); 14 } 15 }); 16 return false; 17 } 18 }); 19});
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.