js 弹出页面和在空白区域显示一个结果。

代码如下:

<SCRIPT type="text/JavaScript"> <!-- function my() { try { alert("dollar"); } catch(e) { return false; } } </script> <a href="javascript:my()" οncοntextmenu="window.event.returnValue=false;">Click</a> <a href="#" οnclick="my()">Click</a> 若onclick只在本页面操作脚本,onclick后面用return false;中断a标签的默认链接操作

窗口弹出方法之一: function select(){ var Value= showModalDialog('./employee_Info.htm','','dialogWidth:600px;dialogHeight:350px;center:yes;resizable:no;status:yes') } 窗口弹出方法之二: <table width="850" border="0" cellspacing="0" cellpadding="0" id="Table2" style="display: none" mce_style="display: none"> <tr> <td colspan="21"> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="80"> 【查询结果】 </td> <td align="right"> 首页上页下页末页共10条记录每页10条 </td> </tr> </table> </td> </tr> </table> <table width="100%" border="1" align="center" id="tt2" style="display: none" mce_style="display: none"> <tbody> <tr> <th nowrap> <div align="center"> 员工名称</div> </th> <th nowrap> <div align="center"> 员工编号</div> </th> <th nowrap> <div align="center"> 所属部门</div> </th> <th nowrap> <div align="center"> 入司时间</div> </th> <th nowrap> <div align="center"> 职务</div> </th> <th nowrap> <div align="center"> 工龄</div> </th> <th nowrap> <div align="center"> 文化程度</div> </th> <th nowrap> <div align="center"> 在职状态</div> </th> <th nowrap> <div align="center"> 操作 </div> </th> </tr> <tr> <td align="center" bgcolor="#FFFFFF"> 张三 </td> <td align="center" bgcolor="#FFFFFF"> 004 </td> <td align="center" bgcolor="#FFFFFF"> 货运市场 </td> <td align="center" bgcolor="#FFFFFF"> 2007-07-28 </td> <td align="center" bgcolor="#FFFFFF"> 市场管理员 </td> <td align="center" bgcolor="#FFFFFF"> 1年以下 </td> <td align="center" bgcolor="#FFFFFF"> 专科 </td> <td align="center" bgcolor="#FFFFFF"> 在职 </td> <td align="center" bgcolor="#FFFFFF" οnclick="select()"> 详细信息</a> </td> </tr>

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值