jquery 弥补ie6不支持input:hover状态 用户名 密码
分类:
Web程序 时间:
2015-08-10 17:27:14
阅读次数:
106
第一种模式:js工厂模式 var lev=function(){ return "啊打"; }; function Parent(){ var Child = new Object(); Child.name="李小龙"; Child.age="30"; Child.lev=lev; ...
分类:
Web程序 时间:
2015-08-10 17:27:10
阅读次数:
100
在我们写网页的时候,超链接是链接各个页面的桥梁,也是搜索引擎爬虫(spider)收录网站页面的关键,因此,在每个网页中会有许多的超链。 当我们根据需求要打印某个网页时,却发现在带有超链的文字的旁边显示出了超链,这显然不是我们想要的打印效果。今天,一个同行妹妹问我如何解决这个问题,我一时头大,从来没...
分类:
Web程序 时间:
2015-08-10 17:24:52
阅读次数:
924
<?php?
?
jquery-1.8.0.min.js?自己下载
?
/*??表结构
--
--?表的结构?`web_city`
--
?
CREATE?TABLE?IF?NOT?EXISTS?`web_city`?(
??`id`?mediumint(8)?NOT?NULL?AUTO_INCREMENT,
??`titl...
分类:
Web程序 时间:
2015-08-10 16:19:33
阅读次数:
176
整数或者小数:^[0-9]+\.{0,1}[0-9]{0,2}$
只能输入数字:"^[0-9]*$"。
只能输入n位的数字:"^\d{n}$"。
只能输入至少n位的数字:"^\d{n,}$"。
只能输入m~n位的数字:。"^\d{m,n}$"
只能输入零和非零开头的数字:...
分类:
Web程序 时间:
2015-08-10 16:21:18
阅读次数:
121
1、查看SecureCRT的配置位置:“选项”--“会话选项”--“X/Y/Zmodem”选择好上传的目录以及下载的目录2、常用命令使用方法sz:下载远端服务器中的数据到主机rz:上传主机的的数据到远端服务器3、上传与下载文件上传文件(rz,需要覆盖的话,用-y)#rz
rzwaitingtoreceive.
z..
分类:
Web程序 时间:
2015-08-10 16:20:15
阅读次数:
145
using System;using System.Collections.Generic;using System.Text;using System.Web;using System.Web.UI;///在後台註冊JavaScript腳本彈出信息對話框及確認對話框(需要有MS AJAX環境)na...
分类:
Web程序 时间:
2015-08-10 16:10:59
阅读次数:
168
hibernate.cfg.xml 中hibernate.hbm2ddl.auto配置节点如下:Hibernate Reference Documentation 3.3.1解释如下:Automatically validate or export schema DDL to the databas...
分类:
Web程序 时间:
2015-08-10 16:09:49
阅读次数:
186
链接:http://acm.hdu.edu.cn/showproblem.php?pid=1045http://acm.hust.edu.cn/vjudge/contest/view.action?cid=82834#problem/A一看原题,先用搜索写一下,还是要学学匹配吧!以前的代码:#inc...
分类:
Web程序 时间:
2015-08-10 16:08:48
阅读次数:
104
#import "ViewController.h" @interface ViewController () @end @implementation ViewController - (void)viewDidLoad { [super viewDidLoad]; //[self...
分类:
Web程序 时间:
2015-08-10 16:07:34
阅读次数:
125
#import "ViewController.h" @interface ViewController () @end @implementation ViewController - (void)viewDidLoad { [super viewDidLoad]; [sel...
分类:
Web程序 时间:
2015-08-10 16:10:09
阅读次数:
163
1、IsPostBack介绍Page.IsPostBack是一个标志:当前请求是否第一次打开。 调用方法为:Page.IsPostBack或者IsPostBack或者this.IsPostBack或者this.Page.IsPostBack,它们都等价。 1)当通过IE的地址栏等方式打开一个URL....
分类:
Web程序 时间:
2015-08-10 16:08:02
阅读次数:
97
近日,第四届HTML5峰会在北京国际会议中心拉开序幕,云适配携其“HTML5跨屏前端框架Amaze UI”高调亮相,并在大会上了做了《组件化-Web前端开发的未来趋势》的重要演讲。 组件化是Web开发的未来趋势 Web组件化(W...
分类:
Web程序 时间:
2015-08-10 15:04:21
阅读次数:
158
<?php?
//数据库连接
$my_db?=?mysql_connect("localhost","root","");
mysql_select_db("model",?$my_db);
mysql_query("set?names?‘utf8‘");
$page?=?isset($_GET[‘page‘])?intval($_GET[‘page‘]):0;//...
分类:
Web程序 时间:
2015-08-10 15:01:59
阅读次数:
154
JSOUP is XSS prevention tool. Jsoup can detect xss script in html and url also. Now i am giving example with url. Jsoup can validate the url with the help of "isValidate()" method. "isValidate()" m...
分类:
Web程序 时间:
2015-08-10 15:00:34
阅读次数:
345
环境要求:
没有
.NET Framework 4.0的要先安装
安装完 .NET Framework 4.0 后,还需要向 IIS 注册应用程序池,注册的方法是,使用管理员权限打开命令提示符(CMD),输入以下命令:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis -i
安装完毕后,在 IIS 管理器刷新...
分类:
Web程序 时间:
2015-08-10 14:54:19
阅读次数:
363