Re: JQuery .get new url is not updating the page
Thanks for the reply,
You misunderstood my question.
Passed_TestCases = data['Data1'];
Failed_TestCases = data['Data2'];
These values are fine, I am using them to create the table.
My question is once these values come from view.py, I want to change the browser url so that url can be send to others.
On Fri, May 18, 2012 at 3:52 PM, Lee Hinde <leehinde@gmail.com> wrote:
On May 18, 2012, at 11:52 AM, furqanmlk wrote:
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)not knowing anything about the page, but you want something more like:$("#ID_FOR_THE_FIELD").val(data['Data1']);
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 post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home