Another fix:
Line #3 can be changed to this:
jQuery('input.sml_submitbtn').bind('click', function() {
The ‘input[name=”submit”]‘ portion of the original code, will target ANY Input Button on that page, which carries the name “submit” (which most Input Buttons do).
I have a comment box on my site, and I noticed that it was triggering the warning messages incorrectly, when I attempted to submit a comment.
This fix I made, solves the problem.