使用这种方法前需要配置相应的环境1.引用ajax.dll文件2.在web.config添加如下: -->前台:js部分:function diaoyong() { var canshu = "ajax sunccess!"; var result = ceshi.ajaxtest(canshu).v...
分类:
Web程序 时间:
2014-12-15 17:04:51
阅读次数:
138
iscroll.js 亲们挨饿,我等罪该万死,动动小指,告诉我你想吃啥呦。 晚上21:00~23...
分类:
Web程序 时间:
2014-12-11 18:45:55
阅读次数:
189
.master代码如下:
<asp:Menu ID="Menu1" runat="server" DataSourceID="SiteMapDataSource1"
Orientation="Horizontal" Stat...
分类:
其他好文 时间:
2014-12-11 15:54:22
阅读次数:
151
1.数据库设计 字段:Id(int) , Msg(varchar(MAX)) , PostDate(datetime) 2.自定义SQL查询方法(强类型DataSet) //SelectCount()方法,用于查询总条数 select count(*) from T_Posts//GetPage.....
分类:
Web程序 时间:
2014-12-10 19:41:00
阅读次数:
215
1.数据库用上面的,增加一个 DeleteById 的SQL方法 delete from T_Posts where Id = @Original_Id2.设置处理页面 delete.ashx public void ProcessRequest(HttpContext context) ...
分类:
Web程序 时间:
2014-12-10 19:31:49
阅读次数:
202
本篇使用Ajax实现页面无刷新验证用户名是否存在。
七、注册页面实现
1、注册页面设计
register.php部分代码:
必填内容
用户名
...
分类:
Web程序 时间:
2014-12-09 19:43:27
阅读次数:
229
jquery文件上传控件 Uploadify基于jquery的文件上传控件,支持ajax无刷新上传,多个文件同时上传,上传进行进度显示,删除已上传文件。要求使用jquery1.4或以上版本,flash player 9.0.24以上。有两个版本,一个用flash,一个是html5。html5的需要付...
分类:
编程语言 时间:
2014-12-09 19:19:19
阅读次数:
276
.aspx代码如下:
$(document).ready(function () {
$("#lb_img").click(function () {
$("#img2").attr("src", $(this).val());
...
分类:
Web程序 时间:
2014-12-09 17:49:08
阅读次数:
230
先来验证码一般处理程序编写 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Web; 5 6 namespace Blog.UI 7 { 8 using Syst...
分类:
Web程序 时间:
2014-12-08 21:14:46
阅读次数:
294
无刷新分页要用到自己定义的存储过程:alter proc usp_DivMemberByPage@pageIndex int,@pageSize int,@total int output //注意:这里不要忘记outputasbegin select * from ( s...
分类:
其他好文 时间:
2014-12-04 21:12:21
阅读次数:
223