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

AjaxÎÞË¢ÐÂÏÂÔØ Çë¸÷λ´óϺÃÇ°ï°ïæ°¡~

<script language="javascript">
  var XMLHttpReq;
  var cont=true;
//´´½¨XMLHttpRequest¶ÔÏó     
    function createXMLHttpRequest() {
if(window.XMLHttpRequest) { //Mozilla ä¯ÀÀÆ÷
XMLHttpReq = new XMLHttpRequest();
}
else if (window.ActiveXObject) { // IEä¯ÀÀÆ÷
try {
XMLHttpReq = new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {
try {
XMLHttpReq = new ActiveXObject("Microsoft.XMLHTTP");
} catch (e) {}
}
}
}
  function sendPackaging(prjid)
{
    alert(prjid);
    createXMLHttpRequest();
        var url = 'http://localhost:8080//p//front//ZipProject?prjid='+prjid;
XMLHttpReq.open("GET", url,"_self");
XMLHttpReq.onreadystatechange = getPackaging;//Ö¸¶¨ÏìÓ¦º¯Êý
XMLHttpReq.send(null);
}
function getPackaging()
{
alert(XMLHttpReq.readyState);
if (XMLHttpReq.readyState == 4) { // Åж϶ÔÏó״̬
        if (XMLHttpReq.status == 200) { // ÐÅÏ¢ÒѾ­³É¹¦·µ»Ø£¬¿ªÊ¼´¦ÀíÐÅÏ¢
            } else { //Ò³Ãæ²»Õý³£
                window.alert("ÄúµÄÇëÇóÓÐÒì³£");
&n


Ïà¹ØÎÊ´ð£º

ajaxÏê½âµÄÒÉÎÊ

µÚ14Õ µÄÊ÷ÐͲ˵¥µÄÀý×Ó²»ÄÜÔÚIEÖÐÕý³£ÏÔʾ£¨Ê÷µÄ½á¹¹¿ÉÒÔÕ¹¿ª£¬µ«Õ¹¿ªºóÔÙµã»÷¾Í²»ÄÜÊÕËõÁË£©£¬µ«ÄÜÔڹȸèä¯ÀÀÆ÷ÖÐʹÓã¬Óп´´ËÊéµÄÅóÓÑÄÜÖ¸µãÏÂÂð£¿
ºÃÌù ºÇ

dfgfgfgffffff


лл¡£
......

´ó¼Ò¿´¿´ÎҵĴúÂëÓÐʲôÎÊÌ⣨¹ØÓÚajaxµÄ£©

ÔÚ¼ÒÑо¿ajax£¬¿´Á˱ðÈ˵ÄÒ»¸öÍøÉϹºÎïÉ̳ÇÏîÄ¿µÄÔ´´úÂ룬×Ô¼ºÒ²À´·Â±ðÈ˵Ķ«Î÷Á·Ï°Á·Ï°£¬Ã»Ïë³öÎÊÌâÁË£¡Ò»ÏµÄÕâЩ´úÂëÊÇÎÒ·ÂÕÕ±ðÈËдµÄ¡£ÎÒÊÇÏëÈÃ×¢²áµÄÈËÌîдÓû§Ãû£¬¹â±êÀ뿪Óû§ÃûºóÃæµÄÌîд¿Õ°×´¦ºóÁ¢¿ÌÀûÓÃaj ......

struts2ʹÓÃajaxµÄÎÊÌâ~~~ - Java / Java EE

ÎÒÏÖÔÚÓÃstruts2¿ò¼Ü,ÐèҪʹÓÃajaxʵÏÖ¾Ö²¿Ë¢Ð£¬µ«ÊÇ´ÓÈÝÆ÷Àï·µ»ØµÄÖµ²»ÖªµÀÔõô´Óstruts.xmlÅäÖÃÎļþÀïÓ³Éäµ½jspÒ³ÃæÀÒÔÇ°servletÀïдout.orint("xxxxx")¾Í¿ÉÒԵõ½~£¬µ«ÊÇÏÖÔÚÓÃstruts¾Í²»ÖªµÀÔõôР......

ajaxµÄģ̬¶Ô»°¿ò - Java / Java EE

Hi£¬everybody£¡
  ×î½üÓÐÒ»¸öϵͳÏÔʾ²ãÓõÄÊÇstruts£¬ÆäÖÐÓÐÒ»¸ö¹¦ÄܾÍÊÇ£¬ÔÚÒ»¸öjspÒ³ÃæÉÏÓкܶà±í¸ñ£¬Ã¿Ò»¸ö±í¸ñÉ϶¼ÓÐÒ»¸ö¶ÔÓ¦µÄidµ±µã»÷Õâ¸ö±í¸ñµÄʱºòµ¯³öÒ»¸öģ̬¶Ô»°¿ò£¬È»ºóÊäÈëÄÚÈÝÔÙÌá½»£¡ÒªÇó¾Í ......

ajaxµäÐÍÓ¦ÓÃ

ÄÄλÐÖµÜÓС¶Õ÷·þasp.net2.0 ajaxµäÐÍÓ¦Óá·Õâ±¾ÊéµÄ¹âÅÌ×ÊÁÏ°¡£¬Óеû°´«ÎÒÒ»·Ý£¬ÎÒÈ¥¿ÌÅÌÁË»¹Ñ§Ð£¡£ÒòΪÎÒ°ÑѧУͼÊé¹ÝµÄ¹âÅÌÕÛ¶ÏÁË£¬ÏÖÔÚÒª¸øѧУÅâÒ»ÕÅ¡£
¶î¡£¹âÅÌ×ÊÁϺÜÄÑÕÒ°¡

¶î¡£¡£Ã»ÓÐŶ

ÓÐÐֵܸøÎÒ· ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ