Solved

Hyperlink inside CFDIV

Posted on 2009-04-04
2
371 Views
Last Modified: 2013-12-24
I have a page with a select list - a list of customers.

Below that is a CFDIV bound to that select list, and it calls a CFC that returns some information in plain text (HTML).  The CFDIV looks like this:

< CFDIV bindOnLoad="false" id="docsdiv"  bind="cfc:mycfc.customer_details({customerid})" width="200" height="300" onClick="return false"/  >

No problem, it returns the information as expected.

In that information are two hyperlinks:

<A href="insurancedoc.cfm?id=1" target="_blank">Insurance Cert </A>
<A href="javascript:ColdFusion.Window.show('docwindow')">Show Image</A>

The first is just a plain hyperlink that should open another browser window.  The second should expose a CFWindow on the page.

Both of these links work perfectly if I just place it on the main page, but when returned as part of the CFDIV, no joy.  The first link isn't even javascript!

Any suggestions?

Thank you
0
Comment
Question by:drgdrg
2 Comments
 
LVL 27

Accepted Solution

by:
azadisaryev earned 500 total points
ID: 24068227
why do you have that onClick="return false" in your cfdiv???

Azadi
0
 
LVL 1

Author Closing Comment

by:drgdrg
ID: 31566614
Dunno ... it was a cut & paste and I didn't even realize it was there.  I guess that was taking precidence and blocking the hyperlink actions.  All better now.  Thanks !
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hi. There are several upload tutorials using jquery and coldfusion. I found a very interesting one here Upload Your Files using Jquery & ColdFusion and Preview them (http://www.randhawaworld.com/) . I did keep the main js functions but made sever…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

815 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now