Is The “Enter” key not working for SharePoint search?

by Steven Ng on September 9, 2008

Blame it on those dumb hidden fields:

<input style="display: none;" name="__spDummyText1" size="1/" type="text" />
<input style="display: none;" name="__spDummyText2" size="1/" type="text" />

Place them between

 

and after “PlaceHolderMain”.

I spent hours trying to figure out the cause of this on Firefox, even tried writing some custom JS but in the end all i needed to do was include these in my master page!

One comment

Waw you rock!I spend hours and hours trying to write javascript.Your two block of code worked perfectly but I do not know the logic behind how it fix this issue,would you explain this for me?

Thanks a lot!

by Ameha on April 9, 2009 at 11:43 am. #

Leave your comment

Required.

Required. Not published.

If you have one.