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

Blame it on those dumb hidden fields:

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

Place them between

1
<div class="content"></div>

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!

[del.icio.us] [Digg] [Facebook] [LinkedIn] [MySpace] [StumbleUpon] [Twitter] [Windows Live] [Yahoo!] [Email]

Popularity: 47% [?]

One comment

  1. 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!

Leave a Reply