Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: AJAX Problem

  1. #1
    New Coder
    Join Date
    Dec 2005
    Posts
    77
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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

  • #2
    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
    document.getElementById("iframeId").variableName

    Eric
    Tech Author [Ajax In Action, JavaScript: Visual Blueprint]


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •