How to use ColdFusion.Window.create Ajax JavaScript Function

Ajax JavaScript Function - ColdFusion.Window.create

ColdFusionWindowcreate.cfm


<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Ajax JavaScript Function: how to use ColdFusion.Window.create in coldfusion</title>
</head>

<body>
<h2 style="color:Crimson; font-style:italic">Ajax JavaScript Function example: ColdFusion.Window.create</h2>
<hr width="600" align="left" color="CadetBlue" />
<br />

<cfajaximport tags="cfwindow">

<a href="JavaScript:ColdFusion.Window.create('CatWindow','Cat Image','CatImage.cfm')">
 <b>Click here for see Cat image</b>
</a>

</body>
</html>


CatImage.cfm


<img src="Images/Cat.jpg" />









More ColdFusion examples