Regarding the solution above, that's a different style of validation that
works great in some situations, but for this app I really want to pursue the
concept of not enabling the submit button until the form is valid.
Yes, I didn't mean to imply you should change "how" you're validating
the fo
malsup wrote:
>
>
> jarrod,
>
> Now that I know what you're trying to do I would suggest something like
> this:
>
> $('form').submit(function() {
> var val = $('[EMAIL PROTECTED]', this).val();
> if (val == null)
> alert('Please enter a value');
> return val != null;
> }
2 matches
Mail list logo