經安全檢測,此網站為安全網站,請放心前往原始網址!

jquery - Prevent submit button with onclick event from submitting - Stack Overflow

I want to prevent a submit button with onclick event from submitting: $j('form#userForm .button').click(function(e) { if ($j("#zip_field").val() > 1000){ $j('form#userForm

stackoverflow.com

網址安全性掃描由 google 提供