How to call java script function after getting result from the server
-
I want to change the content of popup according to the label value after clicking show PopUp Button (I Means after geeting result from the server ) As the follwing if (Label value == 0) PopUp value should be ( you must register From the follwing link Register Now) if (Label value == 1) PopUp value should be (Congratulations You subscriped) if (Label value == 2) PopUp value should be ( Already subscriped, Thank You) you can see exactly what i want to do from the follwing link http://user472.netfx45lab.discountasp.net/testpopup/[^] And to download the source code from here http://user472.netfx45lab.discountasp.net/testpopup/TestJquery.rar[^] Help me Please Thank you
-
I want to change the content of popup according to the label value after clicking show PopUp Button (I Means after geeting result from the server ) As the follwing if (Label value == 0) PopUp value should be ( you must register From the follwing link Register Now) if (Label value == 1) PopUp value should be (Congratulations You subscriped) if (Label value == 2) PopUp value should be ( Already subscriped, Thank You) you can see exactly what i want to do from the follwing link http://user472.netfx45lab.discountasp.net/testpopup/[^] And to download the source code from here http://user472.netfx45lab.discountasp.net/testpopup/TestJquery.rar[^] Help me Please Thank you
There are few ways to talk to server and then update client side. On what you ask is updating client side via JS, following articles should help: XMLHTTPRequest with Sample[^] Client Side Validation Using the XMLHTTPRequest Object[^]
Sandeep Mewara [My last tip/trick]: Server side Delimiters in ASP.NET[^]
-
There are few ways to talk to server and then update client side. On what you ask is updating client side via JS, following articles should help: XMLHTTPRequest with Sample[^] Client Side Validation Using the XMLHTTPRequest Object[^]
Sandeep Mewara [My last tip/trick]: Server side Delimiters in ASP.NET[^]
-
thak you for your help But i didn't understand how this can solve my problem problem still exist Any one can help me ?
Instead of trying to call the JavaScript function after you get the server results, you should be using AJAX to take care of everything.