☆如果是本页显示可以直接用location,方法如下: ①onclick="javascript:window.location.href=‘URL‘" ②onclick="location=‘URL‘" ③onclick="window.location.href=‘URL?id=11‘" ☆如果页面中有fra...
分类:
Web程序 时间:
2014-12-08 19:55:02
阅读次数:
183
HTML_后台框架全屏界面_简易table形式 <!DOCTYPE?html>
<html>
<head>
?<meta?charset="UTF-8">
?<title>Document</title>
?<style>
??html,?body?{
???width:100%;
???height:100%;
???pad...
分类:
Web程序 时间:
2014-12-08 19:53:01
阅读次数:
231
php缓存使用监控测试代码。将以下代码存在PHPWEB网站下面,然后通过IE浏览器进行访问。#catocpcache.php<?php/**FetchconfigurationandstatusinformationfromOpCache*/$config=opcache_get_configuration();$status=opcache_get_status();/**Turnbytesintoahumanreadablefor..
分类:
Web程序 时间:
2014-12-08 19:49:19
阅读次数:
282
1、<script>window.onload=function(){alert("");}</script>2、functionckCbo(){alert("");}<bodyonload=‘ckCbo()‘>jQuery页面加载初始化的3种方法1、$(document).ready(function(){alert("方法1。");});2、$(function(){alert("方法2。");});3、jQuery(func..
分类:
Web程序 时间:
2014-12-08 19:48:09
阅读次数:
231
Hibernate分页查询代码/**
*分页查询
*/
publicList<Ptuser>fenye(intpagenum,intnum_one){
//获得session
Sessionsession=hibernateTemplate.getSessionFactory().openSession();
//开启事务
session.beginTransaction();
Stringstr="fromptuser";
//创..
分类:
Web程序 时间:
2014-12-08 19:46:50
阅读次数:
144
packagecom.etron.dacangjia.news;importjava.util.ArrayList;importjava.util.regex.Matcher;importjava.util.regex.Pattern;importorg.json.JSONArray;importorg.json.JSONObject;importme.imid.swipebacklayout.lib.app.SwipeBackActivity;importandroid.annotation.Suppres..
分类:
Web程序 时间:
2014-12-08 19:45:40
阅读次数:
241
<?php
/*
* Created on 2014-12-8
*
* Tge the templats erated file go to
* indow - Prefer- P Code Templates
*/
session_start();
$rand='';
/*设置字符*/
for($i=0;$i<4;$i++){
$rand.=dechex(rand(1,15)...
分类:
Web程序 时间:
2014-12-08 19:38:37
阅读次数:
146
一、XMLXML即可扩展标记语言(eXtensible Markup Language)。标记是指计算机所能理解的信息符号,通过此种标记,计算机之间可以处理包含各种信息的文章等。如何定义这些标记,既可以选择国际通用的标记语言,比如HTML,也可以使用象XML这样由相关人士自由决定的标记语言,这就是语...
分类:
Web程序 时间:
2014-12-08 19:37:02
阅读次数:
324
;(function($){ function arrayIndexOf(r, num){ if( Array.prototype.indexOf ){ return r.indexOf(num); }else{ for(var i=0, len=r.lengt...
分类:
Web程序 时间:
2014-12-08 19:36:44
阅读次数:
196
jquery easy ui 学习之——Accordion ...
分类:
Web程序 时间:
2014-12-08 19:36:58
阅读次数:
217
Windows平台:http://www.asp.net, http://www.asp.net/mvc Web技术http://msdn.microsoft.com/ef 数据访问中间件https://www.nuget.org/ 公共组件平台Linux平台:http://www.memcache...
分类:
Web程序 时间:
2014-12-08 19:34:44
阅读次数:
253
var inputs= document.getElementById("").getElementsByTagName("input"); for(int i=0;i < inputs.legth;i ++) { ...
分类:
Web程序 时间:
2014-12-08 19:31:32
阅读次数:
166
前言:以前的帐号没有发首页的权限,特此把这篇文章从另外一个博客移过来,这篇是《我和小美的撸码日记》的序一转眼务农6年了,呆过大公司也去过小作坊,码农的人生除了抠腚还是抠腚。在所有呆过的公司里,感觉项目没有不延期的,真的是因为自己不努力吗?也没有呀!上班不怎么聊QQ回家也很少看动作片,还搞过几次通宵撸...
分类:
Web程序 时间:
2014-12-08 19:32:57
阅读次数:
223
package httpclient;import java.io.IOException;import java.net.URLEncoder;import org.apache.commons.httpclient.HttpClient;import org.apache.commons.htt...
分类:
Web程序 时间:
2014-12-08 19:32:26
阅读次数:
194
都是分割,区别就是,split要用转移字符:1. $test = end(explode('.', 'abc.txt')); echo $test;//output txt2. $test1 = end(split('.','abc.txt')); echo $test1;//no output.....
分类:
Web程序 时间:
2014-12-08 19:30:33
阅读次数:
188
jQuery插件模板制作JQuery插件的基本框架演示:http://www.huiyi8.com/chajian/(function($){ //The jQuery.aj namespare will automatically be created if it doesn't exist $....
分类:
Web程序 时间:
2014-12-08 19:29:32
阅读次数:
160
刚开始对这个问题我也挺纠结的,看了《HTTP权威指南》后,感觉清晰了不少。首先,CGI是干嘛的?CGI是为了保证web server传递过来的数据是标准格式的,方便CGI程序的编写者。web server(比如说nginx)只是内容的分发者。比如,如果请求/index.html,那么web serv...
分类:
Web程序 时间:
2014-12-08 19:26:43
阅读次数:
173