| <script type = "text/javascript" |
| src = "https://www.domain.com/mm5/clientside.mvc?T=93863264&Module_Code=cmp-cssui-searchfield&Filename=runtime.js" |
| integrity = "sha512-Y7qdt4+EexAeorE+GmQc2bUuYrV7sUb1iL7Efv5/bIotkWQIGHezHUFsHywSI5IRn6YBQTeMHAEVTu9t6FhJwA==" |
| crossorigin = "use-credentials" |
| async defer > < /script> |
| |
| <script type = "text/javascript" > |
| var MMSearchField_Search_URL_sep = "https:\\/\\/domain.com\\/mm5\\/merchant.mvc\\u003FScreen\\u003DSRCH\\u0026Search="; |
| (function(obj, eventType, fn) { |
| if (obj.addEventListener) { |
| obj.addEventListener(eventType, fn, false); |
| } else if (obj.attachEvent) { |
| obj.attachEvent('on' + eventType, fn); |
| } |
| })(window, 'mmsearchfield_override', function() { |
| MMSearchField.prototype.onMenuAppendHeader = function() { |
| return null; |
| } |
| MMSearchField.prototype.onMenuAppendItem = function(data) { |
| var span; |
| span = newElement('span', null, null, null); |
| span.innerHTML = data; |
| return span; |
| } |
| MMSearchField.prototype.onMenuAppendStoreSearch = function(search_value) { |
| var item; |
| item = newElement('div', { |
| 'class': 'mm_searchfield_menuitem mm_searchfield_menuitem_storesearch' |
| }, null, null); |
| item.element_text = newTextNode('Search store for product "' + search_value + '"', item); |
| return item; |
| } |
| MMSearchField.prototype.onFocus = function(e) { |
| ; |
| }; |
| MMSearchField.prototype.onBlur = function(e) { |
| ; |
| }; |
| }); |
| </script> |