javascript - Queries not retaining in Internet Explorer -
can't figure out why queries made in search box not being retained in ie (of course). can please open link below in ie
http://www.adhuntr.com/p/results.html?ie=utf-8&q=ipad+mini&min=&max=&l=all&c=all&t=&p=
the error due addloadevent()
function, calling fillsearchbox()
ie dev console fires function correctly , populate input box query.
specially, error in call: addloadevent(fillsearchbox);
i tried using updated suggestion addloadevent function in jsfiddle without success.
since using jquery little further down code can use instead. sample in jsfiddle:
jquery(document).ready(function () { fillsearchbox() });
btw, have typo on input.result
, why search not submit automatically when select suggestion:
input .attr ("autocomplete", "off") .autocomplete ("http://clients1.google.com/complete/search", options) .result (function () { searchform.submit(); }); //<== typo in line, should submit
you should move inline code external files, have awful lot of inline javascript , css in page need downloaded every time page loads.
Comments
Post a Comment