Copy link to clipboard
Copied
Hello everyone,
I have an issue with cfwindow, it usually work perfect, I'm trying to open the content of Help.cfm in a cfwindow. but when I test it it open the window but without content. just a blank window. ( I imported the cfwindow extension )
Here is my code :
calling page
<a href="#" onclick="openhelp()">Help</a></td>
the script
function openhelp()
{
ColdFusion.Window.create('help', 'help', 'help.cfm?Window='+dt, {x:100,y:100,height:700,width:880,modal:true ,initshow:true, closable:true, refreshOnShow:true
})
}
Copy link to clipboard
Copied
Hi!
Add before your code this line:
<cfajaximport tags="cfwindow">
And all be OK