摘要: $(function(){ var x = 10; var y = 20; $(".ylan").mouseover(function(e){ this.myTitle = this.title; this.title = "";------- tooltip自已根据自已层显示的需要----------------------- var tooltip = "<div id='tooltip'><li style='margin-left:15px;list-style-type:none'&g 阅读全文
posted @ 2012-04-10 15:55 KyrieYang 阅读(846) 评论(0) 推荐(0)
摘要: 2011-12-07 11:44JS判断只能是数字和小数点 0.不能输入中文1)<input onpaste="return false;" type="text" name="textfield" style="width:400px; ime-mode:disabled" value="">2)<script>function chkIt(frm){ if (frm.n1.value.length>0&&frm.n1.value.match(/[ 阅读全文
posted @ 2012-04-10 12:01 KyrieYang 阅读(106007) 评论(4) 推荐(7)