Hi all,
I use google maps with a search field. In CF5 I use a little code to prevent the form submitting itself when searching the map:
Any suggestions?
Regards
Bob
I use google maps with a search field. In CF5 I use a little code to prevent the form submitting itself when searching the map:
jQuery(document).on("keypress", ":input:not(textarea)", function(event) {This little code does not seem to work in CF6.
if (event.keyCode == 13) {
event.preventDefault();
}
});
Any suggestions?
Regards
Bob