OK I have had a good search round the web for an answer to this one, but so far I have been unable to find one so here goes.
I am in the middle of writing a shopping cart app in good old PHP/MySQL and want the 'Add to Basket' function to invoke a script to add the contents to the basket, but not to render any new HTML to the browser. Effectively I want the user to click the 'add to basket' button and then carry on browsing. In the background the PHP should add the product to the basket. I've no problem coding the add to basket/session management etc. My problem is simply that I don't want to refresh the HTML. Any ideas. I was thinking of hidden frames etc., but there must be a better way.