Re: Ajax: no call_back?

2010-01-07 Thread gilbert F.
Great. Thanks Dan! On Jan 7, 10:44 am, Dan Hirsch wrote: > try using HttpResponseRedirect > return HttpResponseRedirect instead of render_to_response > > On Thu, Jan 7, 2010 at 7:21 PM, gilbert F. wrote: > > Hi Django community, > > > Here is a quick question tha

Ajax: no call_back?

2010-01-07 Thread gilbert F.
Hi Django community, Here is a quick question that I would like to your help. There is an Ajax function in my views.py. As this Ajax function creates very big data, there seems to be a problem for the function to call call_back javaScript function therefore data gets lost. Now I am considering to

How to check this Ajax function's status

2009-12-30 Thread gilbert F.
Hello, Just wonder if somebody can tell me how to check this Ajax function's status in template. Here is what I have. In my views.py there is an Ajax function def ajaxTable_traffic(request, pid, ...): return HttpResponse("cacheHashCallback_traffic"..) -

Re: JavaScript function call

2009-12-30 Thread gilbert F.
mainTable(publisher_id, country_id); >     }); > > }); > > Include this new javascript in your template too, and give your table > an id. > This code is just from the top of my head, but it should work alright. > > On Dec 28, 11:24 pm, "gilbert F." wrote: > &g

Re: JavaScript function call

2009-12-28 Thread gilbert F.
Hi Kevin, Sorry I could not make progress therefore I am considering to use jQuery. As I never used it, can I have your jQuery code for reference? You may send to my e-mail gilber...@gamil.com Thanks so much. On Dec 28, 9:19 am, "gilbert F." wrote: > Hi Kevin, > > Than

Re: JavaScript function call

2009-12-28 Thread gilbert F.
Hi Kevin, Thanks so much for your replies. Following your suggestions I have moved tag out of .