AJAX Page - Synchronous Callback


Make a callback with data synchronously

The next example makes a callback to the server with two numbers (49583 and 83924).
The server-side method waits 5 seconds and then returns the sum of the numbers.

The syntax is:

        ob_post.AddParam("number1", 49583);
        ob_post.AddParam("number2", 83924);
        ob_post.post(null, "myServerMethod");
		
The page 'freezes' until it receives an answer from the server. Click to test:



In the next div, a dot is added every 0.5 seconds.
You will see this stops after you make the callback, until an answer from the server is received.

 



You may also check the asynchronous example to see the difference.

"One more thing I would like to share with you guys is, what a great outstanding solutions and very quick response with efficient support. I'm really so inspired with these components and it’s like very superior while working with these components. I'm so impressed and great work. I hope you are shaking presentation in this world :) Thank you once again ALL THE BEST!"

R.B.

Random testimonial   All testimonials