码迷,mamicode.com
首页 >  
搜索关键字:coin change    ( 7226个结果
控件移动
功能:点击按钮,按钮的位置进行移动。添加2个按钮:change,changeBack。 1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4 using System.Data; 5 ...
分类:移动开发   时间:2014-11-17 15:25:33    阅读次数:159
Jquery中select的操作
jQuery获取Select选择的Text和Value:语法解释:1. $("#select_id").change(function(){//code...}); //为Select添加事件,当选择其中一项时触发2. var checkText=$("#select_id").find("opt....
分类:Web程序   时间:2014-11-16 15:50:50    阅读次数:199
设计模式之状态模块加观察者模式
背景:用户操作鼠标,涉及的动作有左击、右击、双击。每种动作对应一种状态,状态的切换对应着不同的鼠标点击事件。类图:状态接口类:/** * 状态接口 * */public interface State { public void change();}鼠标移入类:public class Mou...
分类:其他好文   时间:2014-11-16 12:01:50    阅读次数:149
Coin Test
描述As is known to all,if you throw a coin up and let it droped on the desk there are usually three results. Yes,just believe what I say ~it can be the ...
分类:其他好文   时间:2014-11-15 14:03:01    阅读次数:178
MyEclipse JSP页面中文字符不能保存
问题:就是写HTML+JSP代码时有些中文,保存时提示sava could not be completed.Reason:some characters cannot be mapped using "ISO-8859-1" character encoding.Either change the...
分类:Web程序   时间:2014-11-14 22:28:25    阅读次数:288
jquery的change 事件
jquery的change 事件 . jquery获取select选择的文本与值 获取select 选中的 text : $("#ddlregtype").find("option:selected").text(); 获取select选中的 value: $("#ddlregtype ...
分类:Web程序   时间:2014-11-14 19:17:43    阅读次数:205
模拟抛硬币(C语言实现)
实现代码: 1 #include 2 #include 3 4 int heads() 5 { 6 return rand() coin.exe 32 1000 0 1 2 3 4 5 6 * 7 * 8 * 9 *10 **11 ****12 ******13 ********14 **...
分类:编程语言   时间:2014-11-14 17:31:33    阅读次数:327
js问题记录
1:如果给type=file文件添加change事件,如果点击同一张图片,则只会触发一次onchange事件,因为change事件是根据value值定的,value不变无法触发此事件。live: function( types, data, fn ) { jQuery( this.context.....
分类:Web程序   时间:2014-11-13 18:51:04    阅读次数:195
修改Android模拟器的system分区,以及加入SuperSU
http://www.claudxiao.net/2013/10/persistent-change-emulator-system-partition/ 对Android的模拟器,如果要修改其system分区里的文件,除了remount之外,还需要对数据进行持久化——因为默认情况下emulator...
分类:移动开发   时间:2014-11-13 18:03:23    阅读次数:856
jQuery操作form input、select、checkbox、radio常用方法
jQuery获取Select选择的Text和Value: 语法解释: 1. $("#select_id").change(function(){//code...});?? //为Select添加事件,当选择其中一项时触发 2. var checkText=$("#select_id").find("option:selected...
分类:Web程序   时间:2014-11-13 16:54:52    阅读次数:272
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!