> if I check a condition and that have this javacript throgh an
> alert..... I cant get to see it...even if the condition i triggered...
> the html processes the GET.... for example..... why does not this stop
> when I input a crazy date into the date part of the form...?
> .......onclick='
> ...
>   if(year<2012){alert ("data se parece errada - antes de
> hoje!!");this.form.date.focus();return;}
> ...
> '></form>   . just cant get to see those alerts!!!!

You need to explictly return a FALSE to prevent the form from being
submitted (the GET processing)... not just:
   return;
...but:
   return false;

That should prevent the FORM handling from continuing after the alert
is triggered.

-e

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to