airmvp23 0 Newbie Poster

I've been round and round with this subject, but here goes again. Basically I need to Click a Form Button and submit that click into an iframe located on a separate page.

The history behind this is that I am using Joomla for my main platform, but needed a more powerful shopping cart for my site than the standard Joomla carts. Both platforms are in php, but I can't seem to get that to work either because I am not savvy enough to use it.

Keep in mind currently the iframe methods works, but it will not send the form data all the way inside the shopping stops at the first page of the cart.

I have a joomla page with this form in it...

<form action="" method="post" name="cart"> <input name="m" value="add" type="hidden"> <input name="quantity" value="1" type="hidden"> <input name="productID" value="33" type="hidden"> <input name="pers[33][24]" value="29" type="hidden">  <input src="" name="cd" value="Buy CD" type="image">

The post is sent to a joomla template that has an iFrame setup inside of it that looks like this...

<IFRAME SRC="" id="cart" name="cart" marginwidth="0" marginheight="0" width="100%" height="100%" FRAMEBORDER="0" scrolling="no" noresize></IFRAME>

This iframe displays the main shopping cart page inside the joomla template.

When submitted the Form is supposed to go through the iframe and hopefully be read by the cart to display the item that was just add from the Joomla Template on the outside, but as I said it only goes to the First Page of the Shopping cart and doesn't add any items to the cart.

I'm not sure if this is a javascript thing, but I heard it might be.

Any help would be appreciated.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.