Can I disable the Firefox search suggestion drop down using Js?
Does anyone know a way of doing this, if it is even possible? It only seems to be FF that implements this method of word suggestion.
Thanks in advance,
The best solution I can think of right now is to dynamically set the value of a hidden text field in a form, via unblur. This way, when the user clicks Search, unblur is called for the textbox outside the form (so no form completion?) to copy its own value into a hidden value in the actual search form.
<input type="text" id="searchtext" onblur="document.searchForm.realsearchtext.value = document.getElementById('searchtext').value;">
<form action="somewhere" method="get" name="searchForm">
<input type="hidden" name="realsearchtext">
<input type="submit" value="Search">
Thanks for your reply, but this method does not work. Mainly because the pop up appears whilst you're typing in the search box itself (also this code causes errors in IE, but what's new?)
Anyway I have attached a screen capture of what is happening to give a better idea of what I mean. Ignore the text - it's irrelevant, but the point is that the pop up that suggests a possible word covers my OWN pop up menu and this is annoying that FF does this.
Please refer to the attachment
Originally Posted by savvykms
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread