- 浏览: 88899 次
- 性别:
- 来自: 宜昌
最新评论
-
chenaha:
不知道大哥是否会用sencha touch,我想写一个这样的效 ...
用ext读取XML写一个“省-市-邮编”三级联动
文章列表
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>jQuery</title> ...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>jQuery</title> ...
package server;
import java.io.File;
import java.io.IOException;
import java.net.URL;
import java.util.ArrayList;
import java.util.List;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServl ...
var outerVar1="variable in global code";
function fn1(arg1, arg2){
var innerVar1="variable in function code";
function fn2() { return outerVar1+" - "+innerVar1+" - "+" - "+(arg1 + arg2); }
return fn2();
}
var outerVar2=fn1(10, 20);
...
Jquery是一个优秀的Javascript框架。它是轻量级的js库 ,它兼容CSS3,还兼容各种浏览器(IE 6.0+, FF 1.5+, Safari 2.0+, Opera 9.0+),jQuery2.0及后续版本将不再支持IE6/7/8浏览器。jQuery使用户能更方便地处理HTML documents、events、实现动画效果,并且方便地为网站提供AJAX交互。jQuery还有一个比较大的优势是,它的文档说明很全,而且各种应用也说得很详细,同时还有许多成熟的插件可供选择。jQuery能够使用户的html页面保持代码和html内容分离,也就是说,不用再在html里面插入一堆js来调用 ...
(function($) {
$.fn.kk = function(method) {
if ($.fn.kk.methods[method]) {
return $.fn.kk.methods[method].apply(this, Array.prototype.slice.call(arguments, 1));
} else if (typeof method === 'object' || !method) {
return $.fn.kk.methods.init.apply(this, argu ...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
</HEAD>
<frameset rows="10%,*" frameBorder=0 frameSpacing=0>
<frame name="top" src="" scro ...
(function(){ var plugins = ['grid']; function parser(){ $(plugins).each(function(){ var plugin = this; var p = $('.rzy-' + plugin); if(p.length){ p.each(function(){ $(this)[plugin](); }); } ...
- 2012-09-03 07:56
- 浏览 739
- 评论(0)
ws架构
- 博客分类:
- 我的webservice架构
package service;
public interface IService
{
Object call(String serviceid, Object... params) throws Exception;
}
package service;
import java.lang.reflect.InvocationTargetException;
import org.apache.commons.beanutils.MethodUtils;
import org.apache.commons.lang.StringUtils;
...
public static void ShellSort(int[] arr)
{
int t;
int j;
int step = arr.length / 2;
while(step >= 1)
{
for(int i = step; i < arr.length; i++)
{
if(arr[i] < arr[i - step])
{
...
public static int BinarySearch(int[] arr, int el)
{
int low = 0;
int high = arr.length - 1;
int mid = 0;
while(low < high)
{
mid = (high + low) / 2;
if(arr[mid] > el)
{
high = mid - 1;
...