码迷,mamicode.com
首页 >  
搜索关键字:sublime text 2    ( 54572个结果
jquery获得下拉框值的代码
jquery获得下拉框值的代码获取Select :获取select 选中的 text :$("#ddlRegType").find("option:selected").text();获取select选中的 value:$("#ddlRegType ").val();获取select选中的索引:$(...
分类:Web程序   时间:2014-05-27 02:38:48    阅读次数:270
get the text value of a selected option.
1 1, get value:$( "#myselect" ).val();//=> 12, get (inner)text:$( "#myselect option:selected" ).text();// => "Mr"ref:How do I get the text value of a ...
分类:其他好文   时间:2014-05-27 02:25:09    阅读次数:223
css翻页样式
/*=======================翻页样式===========================*/.pages { width: 660px; text-align: center; font-size: 14px; float: left; margin-left: 340px;...
分类:Web程序   时间:2014-05-27 01:54:01    阅读次数:491
C#多线程的简单例子
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading;//using System.Threading.Tasks;using System.I...
分类:编程语言   时间:2014-05-19 20:01:31    阅读次数:258
C#_dropdownlist_2
stringdeptId=Request.Form["depts"].Trim();Html.DropDownList()赋默认值:页面代码如下: list = new List { new SelectListItem { Text = "启用", Value = "0",Selected = ....
分类:其他好文   时间:2014-05-19 18:59:16    阅读次数:269
Sublime Text 2 代码片断
原文:Snippets不管是在编码,还是写畅销书,你都可能会需要一遍又一遍的用到一些文本的小片断。使用片断来结束这种单调无聊的码字吧,片断是一种智能的模板,它能在合适的上下文中插入你需要的文本内容。创建一个新的片断,选择 Tools | New Snippet... Sublime Text 将为你...
分类:其他好文   时间:2014-05-19 18:56:02    阅读次数:250
SQLite基本(实例FileOrganizer2013.5.12)
工具用 SQLite Dev数据类型:1.NULL:空值。2.INTEGER:带符号的整型,具体取决有存入数字的范围大小。3.REAL:浮点数字,存储为8-byte IEEE浮点数。4.TEXT:字符串文本。5.BLOB:二进制对象。=======================添加 sqlite-...
分类:数据库   时间:2014-05-19 17:09:21    阅读次数:349
jquery val() and text().
.val()works on input elements (or any element with a value attribute?) and.text()will not work on input elements..val()gets the value of the input ele...
分类:Web程序   时间:2014-05-19 12:14:34    阅读次数:382
JQuery -> 超级简单的下拉菜单
用jquery实现的一个超级简单的下拉菜单。 效果图 初始效果 鼠标悬浮效果 代码 nav a { text-decoration: none; } nav > ul > li { float: left; text-align: center; padding: 0 0.5em; } nav li ul.sub-menu { ...
分类:Web程序   时间:2014-05-18 10:48:11    阅读次数:522
asp.net如何抓取其他网站的内容
1. 需要引用的类库using System.Net;using System.IO;using System.Text;using System.Text.RegularExpressions;2. 获取其他网站网页内容的关键代码WebRequest request = WebRequest.Cr...
分类:Web程序   时间:2014-05-17 22:34:49    阅读次数:423
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!