Closed capdiz closed 12 years ago
Am using idealforms with rails just for the look and feel. When i submit my data a thank you dialog always comes up. How can i stop this. Regards
( $(document).ready(function() { $('#new_recipe').idealforms(); }); )
That dialog is the default onSuccess action. You can overwrite it with your own code:
onSuccess
$('#new_recipe').idealforms({ onSuccess: function(){ ... } });
Thanks a lot man!!
Am using idealforms with rails just for the look and feel. When i submit my data a thank you dialog always comes up. How can i stop this. Regards
( $(document).ready(function() {
$('#new_recipe').idealforms(); }); )