
JS
mingWar
这个作者很懒,什么都没留下…
展开
-
js 子窗体传值到父窗体
父窗体function OpenWindow(){ window.open ("s.aspx", "newwindow", "height=400, width=400,top=200,left=600,toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, status=no" )}function setValu原创 2009-10-23 10:22:00 · 1408 阅读 · 0 评论 -
js 实现多选
无标题页 function open1(hiden){ window.open("sub.aspx?hiden="+hiden,"newwindow","height=100,width=200,top=200,left=300"); } //清除选择项function Cel(_Value,showText,showValue){ var Ar原创 2009-10-24 10:37:00 · 3989 阅读 · 0 评论 -
js弹出div层
无标题页 $(function(){$("#d1").click(function(){ $("#Div1").slideDown("slow",function(){alert(slow);}) });})function CsdnUserCard() { this.hot = false; this.div_card = document.createElement("d原创 2010-01-29 15:24:00 · 4676 阅读 · 0 评论 -
用js添加删除表格
http://www.w3.org/1999/xhtml">Untitled Document function createTable(){var objDiv = document.getElementById("divid");var vtable=document.createElement("table"); // vtable.id="idTB"; vtable.cellPadding转载 2010-01-29 14:39:00 · 2523 阅读 · 0 评论 -
Jquery 如何取出页面中所有以"User_"开头的控件对像
if 是同一种控件,比如input $("input[id^=User_]") else $("*[id^=User_]") head> script src="http://code.jquery.com/jquery-latest.js">script> script> $(document).ready(function(){ $("#btn").click(f转载 2010-02-27 10:33:00 · 4296 阅读 · 0 评论 -
javascript中的srcelement
srcElement 是Dom事件中的事件最初指派到的元素。比如有一个div,里面有一个按钮。你响应div的onclick事件,但实际上,你单击的只是它内部的按钮,那么,srcElement指向的,就是那个按钮。srcElement只在IE中有效。在Opera系列浏览器中对应的属性是target给你一个IE下使用的例子。http://www.w3.org/TR/xhtml1/DTD/xhtml1-转载 2010-05-08 16:57:00 · 1324 阅读 · 0 评论