...

View Full Version : AJAX Problem



OldManRiver
12-31-2008, 12:57 AM
All,

I inherited a crap bunch of code that I had to upgrade. I added an IFRAME as the customers wanted, and could not get any of the session vars to work. Then I found an AJAX shopping cart example at:

http://nettuts.com/tutorials/php/build-an-ajax-powered-shopping-cart/

I had to mod the code as I already had a class module, so added the class module info from the example into my "basket" class.

I then modified my code, so it would work with the class processing. I added the code from the 'cart_action.php' file. I ran into processing problems and the array never reads the values into the array out of the IFRAME.

What is needed to get the vars out of the IFRAME into the basket?

OMR

A1ien51
12-31-2008, 09:10 PM
document.getElementById("iframeId").variableName

Eric



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum