Solved

Hyperlink inside CFDIV

Posted on 2009-04-04
2
382 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Monthly Recap

May was a big month for new releases from Linux Academy! Take a look at what our team built recently in our blog. You can access the newest releases from our blog.

Question has a verified solution.

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

Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
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…
Suggested Courses

624 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