什么是类型转化器?jQuery支持不同格式的数据返回形式,比如dataType为 xml, json,jsonp,script, or html但是浏览器的XMLHttpRequest对象对数据的响应只有 responseText与responseXML 二种所以现在我要定义dataType为jso...
分类:
Web程序 时间:
2014-06-28 22:52:11
阅读次数:
355
#!/bin/bash###################################################### export the whole database use exp utility. ##################################...
分类:
其他好文 时间:
2014-06-28 19:58:18
阅读次数:
215
Examples:// Example: 加载并执行一个 JS 文件。$.ajax({ type: "GET", url: "test.js", dataType: "script" });// Example: 保存数据到服务器,成功时显示信息。$.ajax({ type: "PO...
分类:
Web程序 时间:
2014-06-21 11:04:01
阅读次数:
207
USE [NopV3.3Test]GO/****** Object: StoredProcedure [dbo].[GetPostList] Script Date: 06/18/2014 15:27:19 ******/SET ANSI_NULLS ONGOSET QUOTED_IDENT...
分类:
其他好文 时间:
2014-06-21 10:15:20
阅读次数:
235
WHAT?在写程序的时候我们会遇到很多种根据得出的数值就行不同处理的conditional statements,我们可以选用switch写法,以免使用太多的nested if会让程序difficult to read.syntax:switch(value){ case value1: ...;....
分类:
编程语言 时间:
2014-06-21 09:30:28
阅读次数:
252
一.动态创建link方式我们可以使用link的方式.如下代码所示.[javascript] view plaincopyprint?functionaddCssByLink(url){vardoc=document;varlink=doc.createElement("link");link.set...
分类:
Web程序 时间:
2014-06-20 22:18:16
阅读次数:
422
返回json格式//using System.Web.Script.Services; [WebMethod] [ScriptMethod(UseHttpGet = true, ResponseFormat = ResponseFormat.Json)] p...
分类:
Web程序 时间:
2014-06-18 10:11:35
阅读次数:
332
当 你在终端或者控制台工作时,你可能想要记录在终端中所做的一切。这些记录可以用来当作史料,保存终端所发生的一切。比如说,你和一些Linux管理员们同 时管理着相同的机器,或者你让某人远程登陆到了你的服务器上,你可能记录想要终端里发生的一切。要实现这个目标,你可以使用script命令。script是什...
分类:
其他好文 时间:
2014-06-18 09:30:13
阅读次数:
185
Caused by: java.util.regex.PatternSyntaxException: Syntax error in regexp pattern near index 1:
E/AndroidRuntime(17429): }
E/AndroidRuntime(17429): ^
E/AndroidRuntime(17...
分类:
其他好文 时间:
2014-06-18 07:46:20
阅读次数:
216
getAttribute
大部分介绍都说只有一个,包括w3cschool
其实这个方法有两个参数!
msdn 上查到的!我就不翻译了,因为看英文是最好的!
Syntax
object.getAttribute(strAttributeName,
lFlags)
Parameters
strAttributeName [in]
Type: String...
分类:
其他好文 时间:
2014-06-17 22:58:25
阅读次数:
215