Solved

Hyperlink inside CFDIV

Posted on 2009-04-04
2
373 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
jQuery on Submit 4 46
Running a javascript project in WebStorm 2 29
Html value of radio 14 31
html border input line 7 16
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
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…

820 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