码迷,mamicode.com
首页 >  
搜索关键字:input    ( 33491个结果
jquery操作input值总结
获取选中的值获取一组radio被选中项的值var item = $('input[@name=items][@checked]').val();获取select被选中项的文本var item = $("select[@name=items] option[@selected]").text();se...
分类:Web程序   时间:2014-07-22 00:24:35    阅读次数:310
支付页面DEMO
代码如下: 思瑜科技在线充值 /* Bank Select */ .ui-list-icons li { float:left; margin:0px 10px 25px 0px; width:218px; padding-right:10px; display:inline; } .ui-list-icons li input { vertical-align:m...
分类:其他好文   时间:2014-07-22 00:19:36    阅读次数:487
仿糯米弹框效果demo
代码如下: Tabs /* Remove margin padding */ body,h1,h2,h3,h4,h5,h6,hr,p,blockquote,dl,dt,dd,ul,ol,li,pre,form,fieldset,legend,button,input,textarea,th,td { margin:0; padding:0; } /* Default Font...
分类:其他好文   时间:2014-07-22 00:16:33    阅读次数:316
导航菜单(移动出现子菜单)
代码如下: /* 这以下是重置样式 Remove margin padding */ body,h1,h2,h3,h4,h5,h6,hr,p,blockquote,dl,dt,dd,ul,ol,li,pre,form,fieldset,legend,button,input,textarea,th,td { margin:0; padding:0; } /*...
分类:移动开发   时间:2014-07-22 00:15:36    阅读次数:361
wikioi 3031 字符串哗然并匹配查找
题目描述 Description 灵梦有n个单词想要背,但她想通过一篇文章中的一段来记住这些单词。     文章由m个单词构成,她想在文章中找出连续的一段,其中包含最多的她想要背的单词(重复的只算一个)。并且在背诵的单词量尽量多的情况下,还要使选出的文章段落尽量短,这样她就可以用尽量短的时间学习尽可能多的单词了。 输入描述 Input Description ...
分类:其他好文   时间:2014-07-22 00:06:37    阅读次数:218
LeetCode_41trap [Trapping Rain Water]
#pragma warning(disable:4996) #include <cstdio> #include <tchar.h> #include <Windows.h> /* submit time : 3 1.Time Limit Exceeded Last executed input: [] 2.Cant‘s remember request : G...
分类:移动开发   时间:2014-07-21 23:30:21    阅读次数:443
jquery input 选择器
1.9.1 官方文档:创建一个 元素必须同时设定 type 属性。因为微软规定 元素的 type 只能写一次。jQuery 代码:// 在 IE 中无效:$("").attr("type", "checkbox");// 在 IE 中有效:$("");
分类:Web程序   时间:2014-07-21 23:28:09    阅读次数:217
LeetCode——Letter Combinations of a Phone Number
Given a digit string, return all possible letter combinations that the number could represent. A mapping of digit to letters (just like on the telephone buttons) is given below. Input:Digit st...
分类:其他好文   时间:2014-07-21 16:44:12    阅读次数:191
POJ 1845 Sumdiv
Sumdiv Description Consider two natural numbers A and B. Let S be the sum of all natural divisors of A^B. Determine S modulo 9901 (the rest of the division of S by 9901). Input The only line...
分类:其他好文   时间:2014-07-21 16:27:12    阅读次数:187
HDU 1233 还是畅通工程 最小生成树入门
Problem Description 某省调查乡村交通状况,得到的统计表中列出了任意两村庄间的距离。省政府“畅通工程”的目标是使全省任何两个村庄间都可以实现公路交通(但不一定有直接的公路相连,只要能间接通过公路可达即可),并要求铺设的公路总长度为最小。请计算最小的公路总长度。   Input 测试输入包含若干测试用例。每个测试用例的第1行给出村庄数目N ( 当N为0时,输入结...
分类:其他好文   时间:2014-07-21 16:22:55    阅读次数:183
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!