1.使用this作为参数来传递给函数。因为this始终与当前对象一致。 1 2 3 4 5 js 6 15 16 17 18 //undefined this指向window对象,而不是button对象19 //undefined20 21 //value322 //value423 24 25 2.把this变量存储在私有变量中,然后在方... Read More
posted @ 2013-08-15 23:56 等风来。。 Views(291) Comments(0) Diggs(0) Edit
严重: Dispatcher initialization failed java.lang.RuntimeException: java.lang.reflect.InvocationTargetException处理方法:1、核对lib包 commons-fileupload-1.2.1.jar, commons-io-1.3.2.jarcommons-logging-1.0.4.jar freemarker-2.3.16.jar ognl-3.0.jar struts2-core-2.2.1.jar xwork-core-2.2.1.jar注意2.1以前是没有commons-fileup Read More
posted @ 2013-08-15 17:13 等风来。。 Views(300) Comments(0) Diggs(0) Edit
1.在学习ExtJs时,对其拖放功能感到很陌生,然后找了个拖放功能实现。转载地址2.拖拽的基本原理就是根据鼠标的移动来移动被拖拽的元素。鼠标的移动也就是x、y坐标的变化;元素的移动就是style.position的top和left的改变。当然,并不是任何时候移动鼠标都要造成元素的移动,而应该判断鼠标... Read More
posted @ 2013-08-15 16:31 等风来。。 Views(355) Comments(0) Diggs(0) Edit
------------------------------------------------------------------------------------------------------------ --------------- 欢迎联系 x.guan.ling@gmail.com--------------- ------------------------------------------------------------------------------------------------------------