Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (function() {
- var el = document.querySelector('#addressInputSection input');
- el.addEventListener('keyup', function(e) {}}, true);})();
- <script>
- (function() {
- var el = document.querySelector('#search input');
- el.addEventListener('keyup', function(e) {
- if (e.keyCode === 13) {
- window.dataLayer.push({
- event: 'addressInputEnter',
- enterElement: e.target
- });
- }
- }, true);
- })();
- </script
Add Comment
Please, Sign In to add comment