1、获取标签在文档中的位置var left = $('.selected').offset().left;var top = $('.selected').offset().top;2、获取选中的radio值var val = $('.selected .ut-test-choice-problem...
分类:
Web程序 时间:
2014-07-22 22:42:33
阅读次数:
282
题目:Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three integ....
分类:
编程语言 时间:
2014-07-22 22:42:33
阅读次数:
218
Log4j与common-logging总网上搜了些Log4j与common-logging的介绍,记录下。一.Log4j1.简介Log4j是Apache的一个开放源代码项目使用Log4j,我们可以很方便的来记录日志.从http://www.apache.org/dist/logging/log4j...
分类:
其他好文 时间:
2014-07-22 22:42:15
阅读次数:
254
同事的电脑启动时出现下面提示:“因下面文件损坏或丢失Windows无法启动 %systemroot%\system32\ntoskrnl.exe,请又一次安装以上文件的拷贝”(Windows could not start because the following file is missin.....
分类:
其他好文 时间:
2014-07-22 22:42:14
阅读次数:
180
[javascript]view plaincopy$.extend($.fn.validatebox.methods,{remove:function(jq,newposition){returnjq.each(function(){$(this).removeClass("validatebox...
分类:
其他好文 时间:
2014-07-22 22:42:14
阅读次数:
183
定义和使用方法setTimeout() 方法用于在指定的毫秒数后调用函数或计算表达式。语法setTimeout(code,millisec)參数描写叙述code必需。要调用的函数后要运行的 JavaScript 代码串。millisec必需。在运行代码前需等待的毫秒数。提示和凝视提示:setTime...
分类:
其他好文 时间:
2014-07-22 22:42:12
阅读次数:
189
先看下一个简单的实现: 1 package org.masque.designpatterns.factorymethod.one; 2 /** 3 * 4 * Description: Sample子类的标示 5 * BeanEm.java Create on 2014年7月11日 下午2...
分类:
其他好文 时间:
2014-07-22 22:41:55
阅读次数:
263
1.找出数字数组中最大的元素(使用Math.max函数)2.转化一个数字数组为function数组(每个function都弹出相应的数字)3.给object数组进行排序(排序条件是每个元素对象的属性个数)var arr=[{a:1,b:3},{a:2},{a:3,b:4,c:5,d:3},{a:4,...
分类:
Web程序 时间:
2014-07-22 22:41:55
阅读次数:
263
1. 识别脆弱点 http://www.site.com.tr/uyg.asp?id=123'+union+selec+1,2,3-- http://www.site.com.tr/uyg.asp?id=123' http://www.site.com.tr/uyg.asp?id=1232. HTT...
分类:
数据库 时间:
2014-07-22 22:41:54
阅读次数:
485
一、利用axis2生成wsdl文件 1、file->New->Other->Axis2 Code Generator 2、选择第2个,点击next 3,先点击add folder->浏览选择WebService项目下的bin文件夹,然后在fully Qualified Class name中填入类路...
分类:
编程语言 时间:
2014-07-22 22:41:53
阅读次数:
500