I’m creating multiple windows dynamically using this code
var window = $(“<div id=”+formCode.trim()+”><div>”+formName+”</div><div> Loading… </div></div>”);
window.appendTo(document.body);
window.jqxWindow({width: ‘100%’, height: ‘90%’, maxHeight: ‘90%’ ,maxWidth: ‘100%’ , position: { x: 0, y: 60 } , title: formName , showCloseButton: false});
and setting its contents using this
window.jqxWindow(‘setContent’, data);
but after opening 2-3 windows i try to refer the id of 1 window to bring it front using this code it dosenot work
window.jqxWindow(‘bringToFront’);