ポップアップフォームにページをロード


1、フォームコード定義
   <div id="WinLoad" class="easyui-dialog" style="width:1050px;height:530px;padding:15px" closed="true" iconCls="icon-app" title="5 " 
        minimizable="true" maximizable="true" resizable="true"  buttons="#WinLoad-buttons">  
           <div id="pnl" class="easyui-panel" data-options="fit:true" border="false"/>
        </div>  
        <div id="WinLoad-buttons">  
            <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-ok" onclick="javascript:$('#WinLoad').dialog('close')">   </a>  
            <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-cancel" onclick="javascript:$('#WinLoad').dialog('close')">   </a>  
        </div>  

 
2、jsコード
 function Chart() {
            var row = $(dg).datagrid('getSelected');
            if (row) {
                var jcdid, jcdmch, rq,title, url;
                jcdid = row.jcdid;
                jcdmch = row.jcdmch;
                title = '【' + jcdmch + "】5 ";
                $('#WinLoad').dialog({
                    title: title
                });

                rq = $('#rq').val();
                url = "../Chart/MinuteDataCht.htm?tbName=" + tbName + "&&jcdid=" + jcdid + "&&rq=" + rq;
                $("#pnl").html('<iframe src="' + url + '" frameborder="0" height="100%" width="100%" id="dialogFrame" scrolling="no"></iframe>');
                WinShow('WinLoad');
            }
            else
                AlterInfo(" , !");
        }