9月了。开学了。If 我也能再去读个书,,,就happy了。刚用Ajax.ActionLink,发现异步请求在“某些”情况下,因为参数没变,F12调试虽然有捕捉到请求,但貌似是页面缓存的之类的什么缘故,导致数据没有变化。暂时的解决方法是OnBegin方法里面,$(ele).attr("href", ...
分类:
其他好文 时间:
2014-09-01 19:08:03
阅读次数:
156
1、通过属性传参数(Attr)UserAction.javapackagecom.bebig.struts2.user.action;importcom.opensymphony.xwork2.ActionSupport;publicclassUserActionextendsActionSuppo...
分类:
其他好文 时间:
2014-09-01 17:28:33
阅读次数:
225
$("#login-showpassword").click(function(){ //$(this).attr("checked") 这个返回undefined //this.checked; 返回true if($(this).is(":checked")) { $("#text-p...
分类:
Web程序 时间:
2014-09-01 12:32:33
阅读次数:
197
使用: . 代码如下://绑定的界面元素 $("#gallery").uploadify({ 设置参数,参数如下. }); 设置的属性: . 代码如下:id: jQuery(this).attr('id'),//绑定的input的ID langFile: 'http://www.static-xxx...
分类:
其他好文 时间:
2014-09-01 12:01:13
阅读次数:
158
前提,当前frame无名或动态生成的; var url = eval($("#ifr1").attr("name")+".location.href;"); console.info(url);
分类:
Web程序 时间:
2014-08-29 12:52:47
阅读次数:
171
ListView 学习:1、 关于设置ListView中Item高度不管用的解决方法: 在所用的到的Item 布局文件中,将作为Root标签的Layout设置属性android:minHeight为一个需要的固定值即可, 其他方法:android:minHeight="?android:attr/l...
分类:
移动开发 时间:
2014-08-28 19:45:05
阅读次数:
211
content一般和:before,:after一起使用,用来生成内容(img和input没有该属性),content的内容一般可以为以下四种:none: 不生成任何值。attr: 插入标签属性值url: 使用指定的绝对或相对地址插入一个外部资源(图像,声频,视频或浏览器支持的其他任何资源)stri...
分类:
Web程序 时间:
2014-08-28 00:40:39
阅读次数:
386
function UpLoadImage(){ $('#UploadForm').attr("action", "/sation/handlers/UploadImage.ashx"); $('#divBillboardImage').parent().a...
分类:
其他好文 时间:
2014-08-27 16:11:27
阅读次数:
187
js:var dom = $("#table").find('tr');//根据tr获取dom这个时候dom.attr("data")只能获取到其中一行的值。dom取出的是一个数组,此时如果遍历dom的节点for(int i=0;i<dom.length;i++){ console.log($(d....
分类:
Web程序 时间:
2014-08-27 15:58:37
阅读次数:
202
1、attr() 和 prop() 参考链接: http://www.cnblogs.com/dolphinX/p/3348582.html http://aijuans.iteye.com/blog/1954744具有 true 和 false 两个属性的属性,如 checked, sel...
分类:
Web程序 时间:
2014-08-27 01:31:46
阅读次数:
247