在 2013年5月8日星期三 UTC+8上午9:04:51,Radek Wojcik写道:
>
> Thanks I'll stick to simple JavaScript here.
>
I also come around the similar question !My js didn't work! I want see you
js code!Thanks !
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To u
Thanks I'll stick to simple JavaScript here.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@googlegroups.com.
To post to this group, se
That feels like the wrong place to do it. The simplest thing would be to
just pop up a JavaScript dialog that intercepts the form POST, and ask then.
This does exactly what you want with the exception that it'll ask them
whether or not the form is valid, but I think that's irrelevant.
If you do i
I was looking at examples using 'raise ValidationError' but I don't want to
raise an error based on the value of something. I always want the user to
be prompted with a "Are you sure you want to save this?" every time they
hit "save" :
if request.method == 'POST':
form = LocationFor
4 matches
Mail list logo