Hi,
I constructed a nice form with a Google Map plugin. The map contains a search box.
Everything works perfectly as long as the user clicks on the search button. However, if the user presses enter in the search box the whole form will be submitted. How can I prevent this ? I want the Enter button to trigger a search only in the map or if this is not possible then prevent the user pressing Enter in the search box.
Regards
Bob
I constructed a nice form with a Google Map plugin. The map contains a search box.
Everything works perfectly as long as the user clicks on the search button. However, if the user presses enter in the search box the whole form will be submitted. How can I prevent this ? I want the Enter button to trigger a search only in the map or if this is not possible then prevent the user pressing Enter in the search box.
Regards
Bob