Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Hyperlink inside CFDIV

Posted on 2009-04-04
2
Medium Priority
?
394 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 2000 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

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

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…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
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…

670 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