随笔分类 - jQuery应用
摘要:事件绑定:bind(type[,data],fn);第一个参数是事件类型:blur, focus, load, resize, scroll, unload, click, dblclick, mousedown, mouseup, mousemove, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypr...
阅读全文
摘要:jquery radio取值,checkbox取值,select取值,radio选中,checkbox选中,select选中,及其相关 获取一组radio被选中项的值 var item = $('input[@name=items][@checked]').val(); 获取select被选中项的文本 var item = $("select[@name=items] option[@select...
阅读全文
摘要:a && b : 将a, b转换为Boolean类型, 再执行逻辑与, true返回b, false返回aa || b : 将a, b转换为Boolean类型, 再执行逻辑或, true返回a, false返回b转换规则:对象为true非零数字为true非空字符串为true其他为false
阅读全文
摘要:前台页面代码:[代码]写一个Employee.cs类,数据源.代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSys...
阅读全文
摘要:<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="jQueryApplication._Default" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w...
阅读全文

浙公网安备 33010602011771号