$.getScript("ajax/test.js", function() { alert("Load was performed."); });等价于:$.ajax({ url: url, dataType: "script", success: success});
分类:
编程语言 时间:
2015-06-04 11:38:58
阅读次数:
127
functionlogin(){varname=$("#loginname").val();varpwd=$("#loginpwd").val();if(name!=""&&pwd!=""){$.ajax({type:"post",url:"/lu!loginx?type=0",dataType:‘json‘,data:‘name=‘+name+‘&pwd=‘+pwd,success:function(json){if(json.succeed){$(".revealBox").hid..
分类:
Web程序 时间:
2015-06-02 15:33:25
阅读次数:
159
$.ajax({ url:'test.do', data:{id:123,name:'xiaoming'}, type:'post', dataType:'json', success:function(data){ ...
分类:
Web程序 时间:
2015-06-01 09:29:54
阅读次数:
129
$.ajax({ ??? url: "http://www.hzhuti.com",??? //请求的url地址 ??? dataType: "json",?? //返回格式为json ??? async: true, //请求是否异步,默认为异步,这也是ajax重要特性 ??? data: { ...
分类:
Web程序 时间:
2015-05-31 17:03:13
阅读次数:
122
oracle 大对象移动表空间
ALTER INDEX GHSJ_JCSJ.SYS_IL0000129600C00012$$ REBUILD TABLESPACE GHSJ_JCSJ
ORA-02327: cannot create index on expression with datatype LOB
将lob对象对应的列移动到相应的表空间,会自动创建之前的索引
ALT...
分类:
数据库 时间:
2015-05-29 23:20:40
阅读次数:
317
jquery的ajax异步请求接收返回json数据方法设置简单,一个是服务器处理程序是返回json数据,另一种就是ajax发送设置的datatype设置为jsonp格式数据或json格式都可以。代码示例如下:$('#send').click(function () { $.ajax({ ...
分类:
Web程序 时间:
2015-05-29 13:47:29
阅读次数:
115
SSIS DataType Conversion 将表达式从一种数据类型显式转换为另一种数据类型,转换运算符还可以用作截断运算符。类型转换的语法是: (type_spec) expression示例:1,将一个数值转换为整数。(DT_I4) 3.572,将整数转换为使用 1252 代码页的字符串。(...
分类:
其他好文 时间:
2015-05-26 16:03:24
阅读次数:
1049
1、基础验证:using System.ComponentModel.DataAnnotations;//字段显示名称[Display(Name = "用户名")]//数据类型(比如生成的文本框的类型)[DataType(DataType.Password)]//非空验证[Required(Erro...
分类:
Web程序 时间:
2015-05-25 16:16:42
阅读次数:
345
#include using namespace std;typedef int DataType;struct SeqList{ int MAXNUM; int n; DataType *element;};typedef struct SeqList *PSeqList;PSe...
分类:
其他好文 时间:
2015-05-21 23:59:52
阅读次数:
405
截图如上:代码如下:$(document).ready(function(){$("#button_login").mousedown(function(){varusername=$("#username").val();varpassword=$("#password").val();//一个Ajax过程$.ajax({type:"post",//以post方式与后台沟通url:"login.php",//与此php页面沟通dataType:‘jso..
分类:
Web程序 时间:
2015-05-21 19:54:50
阅读次数:
160