Page refreshing on jQuery submit button
-
I am trying to make a button into a submit button using the onClick event code “jQuery(this.form).submit();”, but also using it as a calculate button so that when also clicked, “jQuery(‘.cff-calculated-field.hide’).removeClass(‘hide’);” unhides the output field. However, the output field is displayed for a split second before the page proceeds to refresh. How do I make the button a submit button to collect the inputs, but also a calculator button, without refreshing the page?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Page refreshing on jQuery submit button’ is closed to new replies.