拥有jQuery标签的文章

jquery easyui在使用datagrid加载列表时如果需要多个datagrid显示隐藏,使用show和hide方法时,需要执行以下代码

jquery easyui在使用datagrid加载列表时如果需要多个datagrid显示隐藏,使用show和hide方法时,需要执行以下代码$("#tableId").css("width","100%").datagrid("resize");
阅读全文

解决ajax的post跨域请求问题

解决ajax的post跨域请求问题在服务端设置response.setHeader("Access-Control-Allow-Origin", "*");response.setHeader("Access-Control-Allow-Methods", "POST, GET, OPTIONS, DELETE");r
阅读全文

js、jquery父窗口中使用iframe中的元素、或者在iframe框架中使用父窗口的元素

js、jquery父窗口中使用iframe中的元素、或者在iframe框架中使用父窗口的元素js在父窗口中获取iframe中的元素1、格式:window.frames["iframe的name值"].document.getElementByIdx_x("iframe中控件的ID").click();实例:window.frames["ifm&qu
阅读全文

jquery mobile禁止data-ajax无刷新效果

jquery mobile禁止data-ajax无刷新效果局部:a标签中设置data-ajax为false全局:在jqm.js之前插入$(document).bind("mobileinit", function() {//全局禁用ajax提交无刷新效果$.mobile.ajaxEnabled=false});jqm的ajax效果会影响含有file的表单提交,导致报错error
阅读全文

jquery mobile中点击事件问题

jquery mobile中点击事件问题click事件在手机web端有200~300ms的延迟tap事件在web端无延迟,可以用touch事件替代touch事件包括touchstart,touchmove,touchend,touchcanceltouchstart:当手指触摸到屏幕会触发;touchmove:当手指在屏幕上移动时,会触发;touchend:当手指离开屏幕时,会触发;touchca
阅读全文
首页 1 末页 共 5 条记录