Solved

Hyperlink inside CFDIV

Posted on 2009-04-04
2
369 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
Comment Utility
why do you have that onClick="return false" in your cfdiv???

Azadi
0
 
LVL 1

Author Closing Comment

by:drgdrg
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Sometimes databases have MILLIONS of records and we need a way to quickly query that table to return the results me need. Sure you could use CFQUERY but it takes too long when there are millions of records. That is why SOLR was invented. Please …
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…

771 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

10 Experts available now in Live!

Get 1:1 Help Now