Hi there,

I implemented the JQuery to get the data from Database server and display 
in the form of table on the page when user click one of the DOM element.
I tried ,

*JQuery Code:*
$.get("RunId_TestCases",{Variable:Value},function(data){
                        
                        
                        Passed_TestCases = data['Data1'];
                        Failed_TestCases = data['Data2'];
                        //window.location.hash = this.url
                       //window.location.assign(this.url)

});

*View.py*
def RunId_TestCases(request)

    RunId = request.GET.get('ClickedRunId','')
    
    #Some python Code to process data
    results = {Data1:foo1,Data2:foo2}
    json = simplejson.dumps(results)
   return HttpResponse(json, mimetype='application/json') 

*url.py*
url(r'^Home/.*/RunId_TestCases/$', RunId_TestCases)

using window.location browser url gets changed but page goes to empty page 
with data values.


Can you please help to solve this issue.

-- 
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/-/fOxSNleyFnYJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to