10 2010 档案
摘要:function ChangeDateFormat(cellval) { var date = new Date(parseInt(cellval.replace("/Date(", "").replace(")/", ""), 10)); var month = date.getMonth() + 1 < 10 ? "0" + (date.getMonth() + 1) : date.ge...
阅读全文
摘要:Query» Checkbox manipulationVarious plugins for working with checkboxes.Source code available fromGitHubor aZipped download.Sample form #myformLast NameFirst NameTitleDavolioNancySales Representa...
阅读全文
摘要:jquery radio,checkbox,select操作获取一组radio被选中项的值var item = $('input[@name=items][@checked]').val();获取select被选中项的文本var item = $("select[@name=items] option[@selected]").text();select下拉框的第二个元素为当前选中值$('#sel...
阅读全文
摘要:1。引用命名空间vb:Imports System.Web.Script.Serializationc#:using System.Web.Script.Serialization2.建立实体对象(可序列化的)例如:对象名为obj3. 定义IList<obj>对象,并加入对应的obj对象,也可以从数据库获得相应对象列表4.生明序列化对象Dim jsserialize As JavaSc...
阅读全文
摘要:$("xxxdiv").append("html")当html 为一个半封闭的标签时,jquery在将html追加到xxxdiv时自动将把要添加的标签补齐,所以在在应用时一定要注意这一点,以避免增加时出错。
阅读全文
摘要:jQuery获取Select选择的Text和Value: 选择一项试试看语法解释:1. $("#select_id").change(function(){//code...}); //为Select添加事件,当选择其中一项时触发2. var checkText=$("#select_id").find("option:selected").text();//获取Select选择的Text3. v...
阅读全文

浙公网安备 33010602011771号