Friday, May 18, 2012

Re: JQuery .get new url is not updating the page


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.


0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate