How do I use an Ajax button to fetch data and update screen?

I have several working PHP methods that I call from PHP Buttons. They do what I want, but of course, since it’s a PHP call back to the server, my entire page disappears, blank screen shows, then is redrawn. This continuous “flash” is not good. I want to use Ajax so that my users don’t get this blank flash… the screen (page) just nicely redraws itself with the new information included. After searching this forum and the help videos, I still cannot learn what is the proper way to use an Ajax button to fetch data and update the page.

I did however, see a working example of what I want. It’s on the SC samples page:

http://www.scriptcase.net/sistemas/v8/exemplos/menu_tabs/menu_tabs.php#

There is a menu choice titled: “Ajax Button”. The Ajax Button titled “Get Info” does exactly what I want. However, there is no link to a video or a tutorial to teach me exactly how this “Get Info” button works. (There are links on almost every other sample in the ScriptCase sample website, just not this particular one. )

Can some one show me the code underneath that “Get Info” button so I can use Ajax buttons in my project? Thanks.

Deploy the “Samples 2.0” project, the application you are looking for can be found in the /root/V81 folder it is called ctrl_ajax_btn