摘要: jquery取radio单选按钮的值$("input[name='items']:checked").val();jquery radio取值,checkbox取值,select取值,radio选中,checkbox选中,select选中,及其相关获取一组radio被选中项的值var item = ... 阅读全文
posted @ 2015-04-23 11:11 mrt_yy 阅读(246) 评论(0) 推荐(0) 编辑
摘要: client / clientY:// 触摸点相对于浏览器窗口viewport的位置pageX / pageY:// 触摸点相对于页面的位置screenX /screenY:// 触摸点相对于屏幕的位置identifier: // touch对象的unique IDevent.preventDefa... 阅读全文
posted @ 2015-04-23 11:10 mrt_yy 阅读(293) 评论(0) 推荐(0) 编辑
摘要: event对象IE 中可以直接使用 event 对象,而 FF 中则不可以,解决方法之一如下:var theEvent = window.event || arguments.callee.caller.arguments[0];第二种是将 event 作为参数来传递:function xxx(e)... 阅读全文
posted @ 2015-04-23 11:09 mrt_yy 阅读(92) 评论(0) 推荐(0) 编辑
摘要: document.getElementById('mapsearch').onclick = function(){if(document.getElementById('sn').value == '请输入起点'){alert('请输入起点');return false;}var s = "bt&... 阅读全文
posted @ 2015-04-23 11:07 mrt_yy 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 手风琴 1111111 222222222 333333333 4444444444444 ... 阅读全文
posted @ 2015-04-23 11:05 mrt_yy 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 赴韩国伊美知美容学院进修师从藏族著名心理学大师格桑泽仁教授赴韩国丽雅医院学习深造> 阅读全文
posted @ 2015-04-23 11:02 mrt_yy 阅读(312) 评论(0) 推荐(0) 编辑
摘要: jQuery.extend(object);为扩展jQuery类本身.为类添加新的方法。jQuery.fn.extend(object);给jQuery对象添加方法。(function($){ $.fn.extend({ test:function(){ alert($(this... 阅读全文
posted @ 2015-04-23 11:01 mrt_yy 阅读(448) 评论(0) 推荐(0) 编辑
摘要: @-webkit-keyframes twinkling{/*透明度由0到1*/ 0%{ opacity:0; /*透明度为0*/ } 100%{ opacity:1; /*透明度为1*/ } }Jquery : $(element).css({"-webkit-animation"... 阅读全文
posted @ 2015-04-23 11:00 mrt_yy 阅读(198) 评论(0) 推荐(0) 编辑
摘要: $(document).ready(function(){//几种添加节点的方法//$("p").append("你好吗?");//向p元素中追加《b》//$("你好吗?").appendTo("p");//将《b》追加到p元素中//$("p").prepend("你好吗?");//向p中前置《b》... 阅读全文
posted @ 2015-04-23 10:59 mrt_yy 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-04-23 10:58 mrt_yy 阅读(340) 评论(0) 推荐(0) 编辑