How to post a simple form and display result in colorbox?

Hi,

I have a very basic html form which is currently POSTing data to a php script.
Upon getting data the php script saves the data in db and shows a message of a line or 2.

How can I submit the form but display result using colorbox without refreshing the page ?

Or is it possible to show colorbox on page load ?

Thanks.

AJAX is how you would do that. The book Bulletproof Ajax teaches you nicely about the topic. They even have lots of useful [url=“http://bulletproofajax.com/code/”]code examples on their site.