We are in the background management often need to pop up a session form, which we can use the interface of the frame to pop up, can also be used to pop up with jquery, and now jquery is a lot of use, so it is this handy point, do not have to introduce additional framework JS resources.
Here is a pop-up window:
①
Application.window.OpenWindowFn (' ${ctx}/escmauthority/initgetparenthelp.do?selfid= ' +selfid+ "&auth_type=" + Auth_type+ "&own=" +own, 1020, he, Parentcallback);
Ii
function Opennew (role_id,auth_type,own) {//Open a different window according to the resource category var url= "${ctx}/escmauthority/initauthority.do"; var strfeature = ' Width=800,height=600,status=0,scrollbars=yes '; var handle = window.open (url,null,strfeature); }
This article can also be consulted:
http://guangcai.iteye.com/blog/518345
This article is from the "Jianbo" blog, make sure to keep this source http://jianboli.blog.51cto.com/12075002/1889003
JavaScript pops up a form