- May 30, 2019
- Posted by: Bharat Patel
- Category: ColdFusion
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');