im trying to set a variable using cfset dependant on what link is clicked, how can i do this? i cant make it work :o(
my code is:
<a href="javascript:document.myform.submit()" class="newsimage" onclick="return <cfset prop_brand='fr0002'>; <cfset prop_name='Cava + Glasses'>; <cfset...
i still very new to CF & would like to know how i can create a shopping "list" (not cart!)... im assuming it would be an array??
basically, as users navigate the site, id like them to be able to click on a picture (16 pics per page) it adds the item reference, name & description to the list...
hiya, yeah, i realised the onclick etc is done client side etc so the cfsets werent always resetting the variable. i decided to parse the page in the url using catalogue.cfm?client=linksys on the content pages. in themain page my code was
<CFIF isDefined("URL.client") and trim(URL.client) NEQ...
help lol, im baffled!!
i have a page structured into areas, a nav bar, footer, main content area, right section etc,
my problem is with the main content pages, i have 11 pages, upon reloading the main page the content should change. my main page uses <cfinclude...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.