I have been at this for a while,
I am trying to create 2 cfdivs. One shows a cart total and total items and the
other has a link labled add to cart.
Pressing the add to cart needs to activate the first div so that it ads the
products and increments the numbers. Then the second div with the link needs to
change or blank out.
I can get the first to change no problem, but can not get the message in the
link div to change.
Here is my code... any help would be greatly appreciated.
THIS IS THE DIV WITH THE LINK AND MESSAGE
<cfdiv name="price" id="cart">
<cfif NOT IsDefined("url.productid")>
<p><cfoutput><span style="color:##006699; font-weight:bold;"><a
href="#ajaxlink("includes/member_cart.cfm?productid=#products.productid#")#">ADD
TO CART</a></span></cfoutput></p>
</cfif>
</cfdiv>
THIS IS THE ONE THAT ADDS THE PRODUCT AND INCREMENTS THE CART NUMBERS
<cfdiv bind="url:includes/member_cart.cfm" id="cart" />
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308602
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4