不保存网页打印

 

<script language="javascript" type="text/javascript">

function $(id)
{
        return document.getElementById?document.getElementById(id):null;
}


                            var t = '<%=type%>';
                            window.onload = function()
                            {                            
                                    $("txt_Ref").innerHTML = window.opener.$("JR_RefNo").value;//TextBox
                                    $("txt_Creator").innerHTML = window.opener.$("JR_Creator").value;
                                    $("txt_JobTitle").innerHTML=window.opener.$("JR_JobTitle").value;
                                    $("txt_CreatedDate").innerHTML = window.opener.$("lb_CreateDate").innerHTML;//Label
                                    $("txt_LastModified").innerHTML = window.opener.$("lb_LastModified").innerHTML;
                                    $("txt_Status").innerHTML = window.opener.$("JR_Status").value;
                                   
                                    var posType = window.opener.$("JR_PositionType");
                                    var jobLevel = window.opener.$("JR_JobLevel");
                                    var dept = window.opener.$("JR_Department");
                                    var appt = window.opener.$("JR_ApproveTemplate");
                                    var edl = window.opener.$("JR_EducationLevel");
                                   
                                    $("txt_PositionType").innerHTML = posType.options[posType.selectedIndex].text;// 下拉框
                                    $("txt_JobLevel").innerHTML = jobLevel.options[jobLevel.selectedIndex].text;
                                    $("txt_Department").innerHTML=dept.options[dept.selectedIndex].text;
                                    $("txt_WorkflowTemplate").innerHTML =appt.options[appt.selectedIndex].text
                                    $("txt_EducationLevel").innerHTML=edl.options[edl.selectedIndex].text;
                                   
                                    var cp = window.opener.$("CandidatePool");
                                    var jl = window.opener.$("JobLocation");
                                    var jt = window.opener.$("JobType");
                                    var jg = window.opener.$("JobGrouping");
                                    var jf = window.opener.$("JobFunction");
                                    var van = window.opener.$("VacancyNo");
                                    var exf = window.opener.$("ExpSalaryFrom");
                                    var ext = window.opener.$("ExpSalaryTo");
                                    var wky = window.opener.$("YrsWorkExpFrom");                                   
                                    $("txt_CandidatePool").innerHTML =cp.options[cp.selectedIndex].text;
                                   
                                   
                                    for(var i=0;i<jg.options.length;i++)//多选(下拉)
                                    {
                                        if(jg.options[i].selected==true)
                                        {
                                            $("txt_JobGrouping").innerHTML += jg.options[i].text;
                                        }
                                    }
                                   
                                    for(var j=0;j<jl.options.length;j++)
                                    {
                                        if(jl.options[j].selected==true)
                                        {
                                                $("txt_JobLocation").innerHTML += jl.options[j].text+',';
                                        }
                                    }
                                  
                                    for(var m=0;m<jt.options.length;m++)
                                    {
                                        if(jt.options[m].selected==true)
                                        {
                                                $("txt_JobType").innerHTML += jt.options[m].text + ',';
                                        }
                                    }
                                   
                                    for(var n=0;n<jf.options.length;n++)
                                    {
                                        if(jf.options[n].selected==true)
                                        {
                                                $("txt_JobFunction").innerHTML += jf.options[n].text + ',';
                                        }
                                    }
                                   
                                    var fg = window.opener.document.getElementsByName("IsFreshGrad");
                                    for(var p=0;p<fg.length;p++)//单选
                                    {
                                        if(fg[p].checked==true)
                                        {
                                                $("txt_IsFreshGrad").innerHTML = fg[p].value=="1"? "true":"false";
                                        }
                                    }
                                   
                                    $("txt_VacancyNo").innerHTML = van.value;
                                    $("txt_SalaryFrom").innerHTML =exf.value;
                                    $("txt_SalaryTo").innerHTML=ext.value;
                                    $("txt_WorkExpFrom").innerHTML = wky.value;                                   
                                    $("txt_JobDesc").innerHTML=window.opener.tinymce.EditorManager.editors['elm1'].getContent();   //Edit(控件)                                 

                            }
                        </script> 

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值