SendMessage Return Values The return value specifies the result of the message processing and depends on the message sent. 这个返回值就是由相应的响应消息函数的返回值. 例如: 有自定义消息:WM_USER 其响应函数: LRESULT Cexample::OnUser(WPARAM wParam, LPARAM lParam) { //…. return 0; } 则用Se…
转 http://javathinker.blog.ccidnet.com/blog-htm-itemid-1262479-do-showone-type-blog-uid-36384.html 在<Pragmatic AJAX中文问题 A Web 2.0 Primer >中偶然看到对readyStae状态的介绍,感觉这个介绍很实在,摘译如下: 0: (Uninitialized) the send( ) method has not yet been invoked. 1: (Loading…
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><h…
XMLHttp方法: $("#name").blur(function () { var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); //创建HMLHTTP对象,相当于WebClient if (!xmlhttp) { alert("创建xmlhttp异常!"); return false; } var name = escape($(this).val()); //注意传值的时候参数如果…