JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsProgrammingJavaScript Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old November 22nd, 2011, 12:40 PM
airmvp23 airmvp23 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2008
Posts: 9 airmvp23 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 27 m 23 sec
Reputation Power: 0
Submit Form Data into an iFrame on same domain

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 cart...it stops at the first page of the cart.

I have a joomla page with this form in it...
Code:
<form action="http://www.xxxxx.com/xxxxx-cart/index.php" 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="https://www.xxxxxx.com/cart/images/purchasebutton-cd.png" 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...
Code:
<IFRAME SRC="http://www.xxxxxx.com/cart/cart.php" 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.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingJavaScript Development > Submit Form Data into an iFrame on same domain


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.

© 2003-2014 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap