Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

jsQuery ajax test

test.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
>
<html xmlns=
"http://www.w3.org/1999/xhtml"
>
<head>
<meta http-equiv=
"Content-Type"
content=
"text/html; charset=gb2312"
/>
<title>ÎÞ±êÌâÎĵµ</title>
<link href=
"Css.css"
type=
"text/css"
rel=
"stylesheet"
/>
<SCRIPT language=javascript src=
"jquery.js"
type=text/javascript></SCRIPT>
<SCRIPT language=javascript src=
"help.js"
type=text/javascript></SCRIPT>
</head>
<body>
<FORM id=formCmt onSubmit=
"return saveComment();"
method=post>
      <DIV class
=list-y>
      <UL class
=list>
        <LI>êdzƣº<INPUT id=
"txtUserName"
name=
"txtUserName"
/>
        <LI>txtContent£º<INPUT id=
"txtContent"
name=
"txtContent"
/>
        <LI><INPUT type=
"submit"
value=
"·¢²¼ÆÀÂÛ"
></LI>
  </UL>
  </DIV>
</FORM>
</body>
</html>
help.js
function myAlert(data,callback)
{
    var
sid=
"<div align='center' class='alert'><h3>"
+  data+
"</h3><input type='button'  class='alertbtn'  value='È·¶¨' id='btnYes'></div>"
;
    $.QstBlock(sid,{
        border:
"1px solid #333"
,
        backgroundColor:
"#336699"
,
  &n


Ïà¹ØÎĵµ£º

Ajaxµ¯³öʾÀý ¿É¿ØÖÆʱ¼ä×ÔÓÉÇл»ºÍ¹Ø±Õ

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Ajaxµ¯³öʾÀý-¿É¿ ......

¼òµ¥AjaxÓëJSPÏà½áºÏÒ³Ãæ

»·¾³£ºAjax+JSP£¬Tomcat5.05
²Î¿¼£ºhttp://www.w3cschool.cn/index-24.asp.htm
Îļþ£ºtestAjax.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb ......

DWR ·´×ªAJAX µ¥Ï߳̿ØÖÆSESSION

Ä¿µÄ£ºÍ¨¹ýÒ»¸öỊ̈߳¬ÅжÏSESSIONÊÇ·ñ¹ýÆÚ£¬Èç¹û¹ýÆÚ£¬µ÷Óÿͻ§¶ËÒ³ÃæµÄJS£¬°ÑÐÅÏ¢ÍƸø¿Í»§¶Ë¡£
ÎÒÃÇÒªÈÃDWR³ÌÐòÖ§³Ö·´ÏòAJAX¡£ÐèÒªÔÚweb.xmlÖÐDWRServletÀïÌí¼ÓÒ»¸ö³õʼ»¯²ÎÊý£¬ÁíÍâÒªÅäÖÃÒ»¸ö¼àÌýÆ÷£¬ÔÚÊʺϵÄʱºò¹Ø±ÕÏ̡߳£
ÈçÏÂÊÇweb.xmlÖеÄÅäÖÃ
<listener>
        < ......

ajax Ó÷¨

AjaxPro.2.dll  µÄʹÓÃʵÀý(2008-09-20 11:13:25)±êÇ©£ºajax it   ·ÖÀࣺajax
×¼±¸¹¤×÷£ºÏîÄ¿ÖÐÒªÒýÓÃAjaxPro.2.dll£¬Õâ¸ö²½Öè¾ÍÊ¡ÂÔÁË£¬¹þ¹þ
µÚÒ»²½£ºweb.config
<system.web>
    <httpHandlers>    
      <add verb ......

JqueryµÄAJAXʹÓùý³ÌÖеÄÌå»á

<mce:script type="text/javascript"><!--
function login(){
var postURL = "http://localhost:8080/cas/simpleLogin";
var params = {
"loginUrl":$("#loginUrl").val(),
"service":$("#service").val(),
"login":$( ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ