How to use ColdFusion.navigate Ajax JavaScript Function

Ajax JavaScript Function - ColdFusion.navigate

ColdFusionnavigate.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.navigate in coldfusion</title>
</head>

<body>
<h2 style="color:DodgerBlue; font-style:italic">Ajax JavaScript Function example: ColdFusion.navigate</h2>
<hr width="500" align="left" color="PaleVioletRed" />
<br />

<a href="JavaScript:ColdFusion.navigate('PenguinImage.cfm','TestWindow')">Click for see Penguin image</a>
<br />
<a href="JavaScript:ColdFusion.navigate('DolphinImage.cfm','TestWindow')">Click for see Dolphin image</a>

<cfwindow name="TestWindow" title="ImageView" initshow="true">
 Test String.
</cfwindow>

</body>
</html>


PenguinImage.cfm


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


DolphinImage.cfm



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













More ColdFusion examples