码迷,mamicode.com
首页 >  
搜索关键字:val    ( 23217个结果
D - Interesting Calculator 【BFS+优先队列】
There is an interesting calculator. It has 3 rows of buttons. Row 1: button 0, 1, 2, 3, ..., 9. Pressing each button appends that digit to the end of ...
分类:其他好文   时间:2017-08-21 20:31:46    阅读次数:174
基于jq的表单填充
//表单填充 formDataLoad: function (domId, obj) { for (var property in obj) { if (obj.hasOwnProperty(property) == true) { if ($("#" + domId + " [name='" + ...
分类:其他好文   时间:2017-08-21 18:57:54    阅读次数:159
js与原生的交互
一、与安卓的交互 Android与js通过WebView互相调用方法,实际上是: Android去调用JS的代码 JS去调用Android的代码 二者沟通的桥梁是WebView 对于android调用JS代码的方法有2种: 1. 通过WebView的loadUrl() 2. 通过WebView的ev ...
分类:Web程序   时间:2017-08-21 18:54:49    阅读次数:172
spring框架学习之依赖注入(二)
spring提供了三种注入方式,分别是set注入、构造方法注入、接口注入。主要应用前两种。 一、set注入 1)给普通字符类型赋值。 我们只需要提供属性的set方法,然后去属性文件中去配置好让框架能够找到applicationContext.xml文件的beans标签。标签beans中添加bean标 ...
分类:编程语言   时间:2017-08-21 18:49:52    阅读次数:213
[Python] wxPython 编辑框组件学习总结 (原创)
1、总结 1、常用4种 编辑框 的构造 1、普通编辑框 单行输入的简单编辑框 (?为所在框的对象,同下) self.textBox = wx.TextCtrl(parent = ?) 2、密码编辑框 星号掩饰输入字符的密码框 self.textBox = wx.TextCtrl(parent = ? ...
分类:编程语言   时间:2017-08-21 17:26:14    阅读次数:136
Python-操作excel
一、Python excel读操作 import xlrd 打开一个工作表 wkb = xlrd.open_workbook('test.xls') 获取sheet的名字 wkb.sheet_names() 获取sheet操作的几种方式 sheet=wkb.sheets()[0] sheet=wkb ...
分类:编程语言   时间:2017-08-21 17:02:22    阅读次数:244
取消a标签在移动端点击时的背景颜色
一、取消a标签在移动端点击时的蓝色 -webkit-tap-highlight-color: rgba(255, 255, 255, 0); -webkit-user-select: none; -moz-user-focus: none; -moz-user-select: none; 二、使用图 ...
分类:移动开发   时间:2017-08-21 16:32:37    阅读次数:228
JavaScript学习——DOM对象
1、DOM操作 Document:整个html文件都称之为一个document文档 Element:所有的标签都是Element元素 Attribute:标签里面的属性 Text:标签中间夹着的内容为text文本 Node:document、element、attribute、text统称为节点no ...
分类:编程语言   时间:2017-08-21 15:44:43    阅读次数:158
Javascript倒计时
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>JS实现倒计时(时、分,秒)</title> <script language="javascript" type="text/javascript"> var interva ...
分类:编程语言   时间:2017-08-21 14:49:14    阅读次数:209
hdu 1166
题目:线段树模板题。 代码: #include <cstdio>#include <algorithm>#include <string>#include <iostream>using namespace std;struct node{ int right,left; int sum;}tree ...
分类:其他好文   时间:2017-08-21 14:48:04    阅读次数:165
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!