Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers!
If you want to transfer data on the background without the page to be refreshed, you need to use AJAX calls. Data can be serialized as JSON object. You have to search the Internet about more information on those two topics as it cannot be explained that easily in a single post.
In the example I posted, here's what happens:
2. A JSON string is generated for the object using a jQuery add-on (http://code.google.com/p/jquery-json/).
3. When the user clicks the button, the JSON string is POSTed to a server-side script.
4. A response is given (in this case, the script doesn't return anything).
5. A modal window is created (using jQuery UI), and the response from the script is appended.
And if you're just loading content from another page, it's even easier: