码迷,mamicode.com
首页 >  
搜索关键字:html5 input    ( 47367个结果
【Python】入门 list有些不懂
#-*- coding: cp936 -*- #首行加这个 代码里就可以加注释raw_input("Press Enter Exit") #最后一行加这个,可以直接点击脚本运行脚本l[a:b] = [c] #即用右边的[c]完全替换a到b-1个元素http://www.cnblogs.com/zhe...
分类:编程语言   时间:2014-07-22 23:14:54    阅读次数:369
LeetCode:Reverse Words in a String
Reverse Words in a String题目链接:http://oj.leetcode.com/problems/reverse-words-in-a-string/ Given an input string, reverse the string word by word. F...
分类:其他好文   时间:2014-07-22 23:13:32    阅读次数:309
《Thinking in C++》读书笔记——Chapter 3: The C in C++ (2)
Chapter3: The C in C++ (2)Bitwise operators(1)The bitwise exclusive or, or xor (^) produces a one in the output bit if one or the other input bit is a...
分类:编程语言   时间:2014-07-22 23:11:16    阅读次数:618
form提交时,传递额外的参数
在进行表单提交时,会遇到在提交前增加额外参数的情况,对此有如下几种解决方法:1. 在表单里使用hidden的input,将参数放到里面。缺点:在form表单里会增加一些input节点,感觉不爽。2. 在提交前使用javascript动态在表单里添加input。缺点:需要写脚本。3. 使用ajax提交...
分类:其他好文   时间:2014-04-30 21:34:48    阅读次数:458
矩阵转置
#includemain(){ int a[2][3],b[3][2]; int i,j; //input a for(i=0;i<2;i++) { for(j=0;j<3;j++) { scanf("%d",&a[i][j]); } } // zhuanzhi b for(j=0...
分类:其他好文   时间:2014-04-30 16:04:17    阅读次数:261
本地存储(localStorage、sessionStorage、web Database)
一、sessionStorage和localStorage sessionStorage和localStorage两种方法都是当用户在inPut文本框中输入内容并点击保存数据按钮时保存数据,点击读取数据按钮时读取保存后的数据。不过使用sessionStorage时,只能局限于当前页面,如果关闭浏览器...
分类:数据库   时间:2014-04-30 13:24:39    阅读次数:483
FE-learning 前端学习
github偶尔上不去,把学长给我们的学习资源转载在这里,同时记录下自己的学习感悟。Lesson 1:html 基本标签Lesson 2: html语义化 html4 html5 xhtml区别Lesson 3: html编码标准,百度教育页面html分析Lesson 4:http://www.w3...
分类:其他好文   时间:2014-04-29 21:17:45    阅读次数:579
HTML5程序设计 Canvas API
检测浏览器支持情况加入Canvas对角线 //取得Canvas元素及其绘图上下文 var canvas = document.getElementById("diagonal"); var context = canvas.getContext("2d"); //用绝对坐标来创建一条路径 ...
分类:Windows程序   时间:2014-04-29 10:15:46    阅读次数:770
css实现input文本框的双边框美化
css实现input文本框的双边框美化
分类:Web程序   时间:2014-04-29 09:28:46    阅读次数:803
hdu 1.3.1 Moving Tables
这道题比较简单,就是用数组存取其路径。如101和102是对门,其过道号可以记为51. 1和2之间的为1. 今早突然收到操作系统停课的通知,哈哈 回来就做一下水题,开心 1 #include 2 #include 3 int main() 4 { 5 //freopen("input.txt"...
分类:其他好文   时间:2014-04-29 09:15:47    阅读次数:370
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!