I'm not sure of the use-case on this but you could possibly take the following approach:
1. Get your dynamic page via AJAX with some given query 2. Modify the URL to match the query 3. When a user accesses the same page with the given query (my/page/?foo=bar) then they'll see the same thing Of course this will probably require modifying your view to accept queries. On Wed, May 23, 2012 at 11:23 AM, Furqan Malik <furqan...@gmail.com> wrote: > Thank you so much Lee, > > I am able to change the url but when i copy and past that url to new > browser, it opens parent page. > > Any help? > > > On Sat, May 19, 2012 at 10:49 AM, Lee Hinde <leehi...@gmail.com> wrote: >> >> >> On May 18, 2012, at 8:24 PM, Furqan Malik wrote: >> >> 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. >> >> >> You're right, I did. >> >> >> http://stackoverflow.com/questions/136458/change-the-url-in-the-browser-without-loading-the-new-page-using-javascript >> >> >> >> On Fri, May 18, 2012 at 3:52 PM, Lee Hinde <leehi...@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+unsubscr...@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+unsubscr...@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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.