Problem submitting a form with jQuery custom button


#1

Hi

I’m trying to add the following behavior to my landing page:

$('#lp-pom-image-90').click(function() { // A common image   
/\* Some validation stuff, and if everything is OK... \*/   
$('div.lp-pom-form form').submit();   
});   

I couldn’t figure out why, but after submitting, Unbounce is replacing *all* the site (that means and its contents) with “{}”. I’ve successfully used this technique before, in other landing pages, but now it’s not working.

Does somebody know what could be the problem? Thanks