Go Back   CodingForums.com > :: Client side development > JavaScript programming > Ajax and Design

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-30-2008, 11:57 PM   PM User | #1
OldManRiver
New Coder

 
Join Date: Dec 2005
Posts: 76
Thanks: 0
Thanked 0 Times in 0 Posts
OldManRiver is an unknown quantity at this point
AJAX Problem

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/bui...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
OldManRiver is offline   Reply With Quote
Old 12-31-2008, 08:10 PM   PM User | #2
A1ien51
Senior Coder

 
A1ien51's Avatar
 
Join Date: Jun 2002
Location: Between DC and Baltimore In a Cave
Posts: 2,717
Thanks: 1
Thanked 94 Times in 88 Posts
A1ien51 will become famous soon enough
document.getElementById("iframeId").variableName

Eric
__________________
Tech Author [Ajax In Action, JavaScript: Visual Blueprint]
A1ien51 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:01 AM.


Advertisement
Log in to turn off these ads.