Contact Us

Let us know to help you out quickly!

 Bharat Patel     Feb,08 2017

Change Title of CFWindow after creating

Hello Friends,

CFWindow has attribute for giving title to window. Once it is created, we can use it multiple time for different purposes with same title otherwise we need to create it again if we want to change title. Using setTitle function there is no need to create again. We can just change window title name runtime. Have a look at code below.


var objWin = ColdFusion.Window.getWindowObject("cfwindow1");
	objWin.setTitle('Change Title over here');