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

jQuery ajaxµ÷ÓÃʾÀý

   ÎÒÔÚÉÏһƪÎÄÕÂÖÐʹÓÃԭʼjavascriptµÄ·½Ê½¹¹Ôìajaxµ÷Ó㬵«´ÓÈ«¾Ö¿´£¬²»½ö½ö´úÂëµÄÔĶÁÐԱȽϵͶøÇÒÒþ²Ø·¢Éú´íÎóµÄ¿ÉÄÜ£¬±ÈÈçÔÚÒ³Ãæ¼ÓÔØʱ¾Í¸Ä±ädom½á¹¹£¬»¹ÒªÊ±¿Ì¹Ø×¢ä¯ÀÀÆ÷µÄ¼æÈÝÐÔ£¬¶øʹÓÃjQueryÎÒÃǽ«²»´æÔÚÀàËƵÄÎÊÌ⣬´úÂëµÄ¿É¶ÁÐÔÒ²ÏÔÖøÌá¸ß£¬´úÂëÁ¿Ð¡£¬ÏÂÃæÊÇjQuery°æ±¾µÄjs²¿·Ö´úÂ룬ϣÍûÄܹ»¶Ô¶ÁÕßÓÐËùÌå»á£¬ÎÒºóÃ潫½ÐøתÔؽéÉÜjQueryµÄÏà¹Ø֪ʶ£¬»¶Ó­ÔĶÁ£º
 
<script src="jQuery/jquery-1.3.2-vsdoc2.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(function(){
            $("#ajaxRequest").bind("click",function(event){
                $.get("Demo.aspx",function(data,textStatus){
                    //Çå¿Õ±¾Ò³±í¸ñÖгýµÚÒ»ÐÐÍâµÄËùÓÐÐÐ
                    $("#tabScreen tr:not(:first)").remove();
                    //iframeTableΪ¿ò¼ÜÒ³Ãæ±í¸ñId
                    var par = $(window.frames["iframeId"].document).find("#iframeTable");
                    //È¥µôiframe¿ò¼Ü±íÖгýµÚÒ»ÐÐÍâµÄËùÓÐÐÐ
                    par.find("tr:not(:first)").remove();
                   //Ñ­»·item½Úµã
                &nbs


Ïà¹ØÎĵµ£º

DIV²ãÏÔʾµÇ¼´°¿Ú Ä£Äâajax´°¿Ú

function ScreenConvert()
{
var browser = new Browser1();
var objScreen = document.getElementById("ScreenOver");
if(!objScreen)
var objScreen = document.createElement("div");
var oS = objScreen.style;
objScreen.id = "ScreenOver";
oS.display = "bloc ......

¡¾¾ÉÎÄ¡¿AJAX×ܽᣨ¶þ£©

ËÄ¡¢DOM
1.DOM¸ÅÊö
XHR¶ÔÏóÌṩÁ˸ú·þÎñÆ÷ͨѶµÄÄÜÁ¦£¬¶øDOMÌṩÁË·ÃÎÊ¡¢¶¯Ì¬¸üÐÂÒ³ÃæµÄÄÜÁ¦¡£
DOMÊÇW3CÍƳöµÄÎĵµ¶ÔÏóÄ£ÐÍ£¬ÊDZíʾÎĵµºÍ·ÃÎÊ¡¢²Ù×÷¹¹³ÉÎĵµµÄ¸÷ÖÖÔªËصÄAPI£¬±»¶¨ÒåΪ¶ÀÁ¢ÓÚÓïÑԵıê×¼£¬ÔÚjavascriptºÍjavaÒÔ¼°ÆäËûÓïÑÔÖж¼ÓÐʵÏÖ¡£
ÔÚDOMÖУ¬HTMLÎĵµµÄ²ã´Î»ú¹¹±»±íʾΪÊ÷Ðνṹ£¬Ê÷µÄ½Úµã±íʾÎĵµÖÐ ......

AJAXѧϰ±Ê¼ÇÒ»

Ç°¶Îʱ¼ä×öÏîÄ¿Óõ½GWT£¬´Ó¶ø½Ó´¥µ½AJAXÕâ¸öÃû´Ê£¬ÏÖÔڻعˣ¬¾õµÃÓбØÒª¼Ç¼ÏÂÀ´Ñ§Ï°µÄÄÚÈÝ¡£
AJAXÊÇÒ»ÃÅ×ۺϼ¼Êõ£¬×îÔç³öÏÖÔÚ1998Ä꣬´óÁ¿±»Ê¹ÓÃÊÇ´Ó2005Ä꿪ʼ¡£×î´óµÄÓŵãÊÇ£¬²»¸üÐÂÕû¸öÒ³ÃæµÄÇ°ÌáÏÂά»¤Êý¾Ý£¬Ó¦ÓÿÉÒÔ½öÏò·þÎñÆ÷·¢ËͲ¢È¡»Ø±ØÐèµÄÊý¾ÝʹµÃÇ°¶ËºÍ·þÎñÆ÷µÄ½»»¥Ê±¼ä¶Ì¡£×î´óȱµãÊÇ£¬²»Äܱ£´æÀúʷ״̬£¬¼´² ......

AjaxʵÏÖÈý¼¶Áª¶¯ÏÂÀ­¿ò

jspµÄ´úÂ룺
<%
@ page contentType 
=
 
"
text/html; charset=GBK
"
  
import
=
"
java.util.*,com.wehave.hyerp.procurement.domain.Cgsqd
"
%>
<%
@ taglib uri
=
"
struts-html
"
 prefix
=
" ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ