There are some high quality resources that already cover the OpenStack API, so this is a YEA (yet another example) post. See the resources section bel...
判断radio是否选中并取得选中的值 One:$("input[name='items']:checked").val(); Two:function checkradio(){ var item = $(":radio:checked"); var len=item.length; if(len>...
分类:
Web程序 时间:
2014-08-22 16:01:58
阅读次数:
242
I'm not yet clear what I did, but I'm blogging it so it can be found if someone else has this issue.For whatever reason, last week both of my Vista 64...
1、长字符串:(用三引号如'''或者"""来引起来)>>> print """This is a very log string.It continues here.And it's not over yet."Hello world!""""This is a very log string.It...
分类:
编程语言 时间:
2014-08-20 19:23:52
阅读次数:
234
我在页面上一点击查询,console下面就有如下的红色文字:
2014-8-19 15:09:27 org.apache.jasper.compiler.TldLocationsCache tldScanJar
信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for ...
分类:
Web程序 时间:
2014-08-19 16:37:14
阅读次数:
145
取radio的值:JS代码$("input[name='radioName'][checked]").val();给radio 赋值, 选中值为2的radio:JS代码$("input[name='radioName'][value=2]").attr("checked",true);
分类:
Web程序 时间:
2014-08-19 16:23:24
阅读次数:
228
$("#t2 div.checked input[type='checkbox']").each(function(i,a){ //alert(a.value+a.checked); oidStr +=a.value+','; //拼接字符串 }); // alert(oidStr); $...
分类:
其他好文 时间:
2014-08-19 14:19:34
阅读次数:
190
运行时异常在运行期间才能被检查出来,一般运行期异常不需要处理。Checked异常在编译时就能确定,Checked异常需要自己处理。checked 异常也就是我们经常遇到的IO异常,以及SQL异常都是这种异常。对于这种异常,JAVA编译器强制要求我们必需对出现的这些异常进行catch。所以,面对这种异...
分类:
其他好文 时间:
2014-08-19 12:50:04
阅读次数:
228
Jquery获对HTML控件的控制1、获取控件的值 1.1、radio 1.1.1 获取一组radio被选中项的值 var item = $('input[name=items][checked]').val(); 1.1.1 radio单选组的第二个元素为当前选中值 ...
分类:
Web程序 时间:
2014-08-18 20:17:32
阅读次数:
253
jquery实现多选框只能选择一个jquery代码如下:1 $(":checkbox").bind("click",function(){2 $(":checkbox").removeAttr("checked");//取消全选3 $(this).attr("checked","checked");...
分类:
Web程序 时间:
2014-08-18 15:43:42
阅读次数:
186