第一次写博客,也是为了以后遇到同样的问题时可以找到,onlick无法响应在百度一些都有解释,这只是一个个人记录而已问题:function change_tp(ProInfo_id, color_id) { var str; alert("ni hao"); }" onclick="change_tp...
分类:
Web程序 时间:
2014-12-29 13:36:24
阅读次数:
123
为input 控件的text 添加datepicker()方法后,原本的控件change事件无法正常触发。原因是项目中同时使用了用了jquery ui,碰巧它里面也有一个datepicker,名字一模一样。后来,看了一下Jqurey UI 中的Js 源代码,才知道,要使用 ‘changeDate’事...
分类:
其他好文 时间:
2014-12-29 11:58:00
阅读次数:
198
In any project, change is inevitable whether it comes from within the project or from external sources, therefore it makes sense to have an agreed pro...
分类:
其他好文 时间:
2014-12-29 11:40:36
阅读次数:
164
【题目】
Given an unsorted integer array, find the first missing positive integer.
For example,
Given [1,2,0] return 3,
and [3,4,-1,1] return 2.
Your algorithm should run in O(n) time and use...
分类:
其他好文 时间:
2014-12-28 22:21:58
阅读次数:
242
安装Oracle成功后,默认会有三个用户: sys、system、scott登录命令:sqlplus 用户名/密码@SID [as sysdba or sysoper]用户: sys用户:超级管理员,权限最高,它的角色是dba,默认密码是change_on_install system用户:系统管理...
分类:
数据库 时间:
2014-12-28 16:47:38
阅读次数:
184
Gradle Goodness: Copy Files with FilteringGradle's copy task is very powerful and includes filtering capabilities. This means we can change the conten...
分类:
其他好文 时间:
2014-12-27 20:23:43
阅读次数:
223
目的:创建按钮,当按钮使按钮有不同的形状状态
在res下drawable-hdpi保存按钮初始状态left.png和按钮按下后的状态图片rigth.png.
将图片文件拖到创建好的文件夹drawable-hdpi中
创建一个一般的XML文件,新建图形状态组合步骤为
drawable_change → New → Other... →...
分类:
移动开发 时间:
2014-12-27 15:15:59
阅读次数:
191
在这篇文章中,我会实现一个自己用的简单KVO类,我认为KVO非常棒,然而对于我大部分的使用场景来说,有这两个问题:1. 我不喜欢在observeValueForKeyPath:ofObject:change:context:方法里通过keyPath值来做调度,当Observe比较多的对象时,会使得代...
分类:
其他好文 时间:
2014-12-26 20:18:03
阅读次数:
229
1。upload.html页面,即先是inputtype=file的文件:<html><head><title></title></head><body><formenctype="multipart/form-data"action="do_upload.php"method="POST"><fieldset><legend>图片上传</legend>第一..
分类:
Web程序 时间:
2014-12-26 18:57:12
阅读次数:
161
http://acdream.info/problem?pid=1019
Problem Description
Now we have a long long string, and we will have two kinds of operation on it.
C i y : change the ith letter to y.
Q i j : check whet...
分类:
编程语言 时间:
2014-12-26 16:41:35
阅读次数:
338