Re: java script alert from view after sucessfull opreation

2012-09-17 Thread jondykeman
ly look into AJAX as suggested earlier. JD On Monday, September 17, 2012 1:29:46 AM UTC-6, JirkaV wrote: > > > how to use java script alert from view after sucessfull opreation in > view > > Simplest way is to set some context variable (a.k.a. "flag") in the > vie

Re: java script alert from view after sucessfull opreation

2012-09-17 Thread Navnath Gadakh
> > but i used function HttpResponse() not render_to _response(). So how > to carry variable from view to template with httpresponse() -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://grou

Re: java script alert from view after sucessfull opreation

2012-09-17 Thread Jirka Vejrazka
> how to use java script alert from view after sucessfull opreation in view Simplest way is to set some context variable (a.k.a. "flag") in the view (e.g. "operation_successful = True") and have a piece of JS code in your template that runs only when this fla

java script alert from view after sucessfull opreation

2012-09-16 Thread Navnath Gadakh
how to use java script alert from view after sucessfull opreation in view ifself? -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/v41IbNfmmgYJ.