I wrote an app a while ago that had a search field on various web pages, but I
never knew how to get around whe a user just hit return.
using your tip, I just added "return goSearch();" to the onSubmit and it almost
worked right away.
I did have to add the "return false;" to the end of my goSearch() function
otherwise, I got an error. I'm not the best at Javascript, so I'm not sure
what the deal was, but it works all the time now.
I wrote an app a while ago that had a search field on various web pages, but I never knew how to get around whe a user just hit return.
using your tip, I just added "return goSearch();" to the onSubmit and it almost worked right away.
I did have to add the "return false;" to the end of my goSearch() function otherwise, I got an error. I'm not the best at Javascript, so I'm not sure what the deal was, but it works all the time now.