Ò³Ã棺×ó²àÊÇ×Ô¼ºÐ´µÄtreeview£¨<table><tr><td>£© ÓÒ²àÊÇgridview¿Ø¼þ
ʵÏÖЧ¹û£¬µã»÷treeview½Úµã£¬´«²Î¸øÒ³Ã棬gridview¸ù¾Ý²ÎÊý°ó¶¨Êý¾Ý¿â
µã»÷½ÚµãÎÒÊÇÓÃajaxÀ´ÊµÏֵġ£´úÂëJScript code:
function nodeClick(mythis)
{ nodeId = mythis.id;
h = window.XMLHttpRequest ? n ......
ÎÒÖªµÀÊÇ JAVASCRPT XML
ÊDz»ÊÇÕâ2¸ö¶¼ÒªÑ§µÄºÜ¾«Í¨»¹ÊÇѧϰÆäÖÐij¸ö²¿·Ö Çë´ó¼Ò¸øÎÒµãÒâ¼û ÎÒ²»ÏëÈÆÍä·ÁË
ÒÔǰѧJAVAµÄʱºò ÓÐÈË»¹ËµÓ¢ÎĺÃÁËѧJAVAºÃ »¹ËµÓÐCÓïÑÔѧϰJAVAºÃ ÏñÕâÖÖÀàËƵĻ°Ìâ¾Í²»ÓÃ˵ÁË
±ÈÈç±ØÐëÕÆÎÕÄÄЩÖØÒªµÄ˵Ï ½Ì³ÌÁ´½ÓµØÖ·Ò²·¢¸øÎÒÏ лл£¡
CSSÎ ......
ÎÊÌâÈçÌâ¡£
AjaxµÄ´úÂë:
JScript code:
function getProfession2(){
var department=document.getElementById("department").value;
alert(department+"-----"+$("#department").val());
var request=$.ajax({
......
ÎÒÔÚдһ¸öajaxµÄÒ첽ˢгÌÐò£¬javaÎļþÀïÕâôдµÄ£º
StringBuffer str = new StringBuffer();
¡¡
str.append("<tr><td class='td_left_dsj_content'>");
str.append("<a href='#' title='µã»÷²é¿´ÏêÇé' onclick='window.open(this.value,null,height=600, width=800, top=0, left=0, ......
ʹÓÃ.net 3.5 ×Ô´øµÄajax¿Ø¼þ£¬ÔÚIE7¡¢IE8ÏÂÌáʾ ajax¿ò¼ÜÎÞ·¨¼ÓÔØ
Ò³Ãæ½á¹¹ÈçÏ£º
HTML code:
<form id="form1" runat="server">
<asp:ScriptManager ID="SM" runat="server">
</asp:ScriptManager>
<asp:UpdatePanel ID="UP&qu ......
±¾È˶ÔASPÒ»Çϲ»Í¨£¬ÓÉÓÚÁÙʱÐèÒªÓÃWEBµ½µÇ¼£¬ËùÒÔÓдËÒ»ÎÊÇë´ó¼Ò¼ûÁ£º
ÔÚÍøÉÏÕҵĴúÂ룬ÊÇAjax¡¢ASP¼ÓACCESSµÇ¼µÄÀý×Ó£¬µ«ÊÇһֱûµ÷ͨ£¬Ò»¹²ÓÐÎå¸öÎļþindex.html¡¢adoconn.asp¡¢checkuser.asp¡¢reg.aspºÍusername.mdb£º
index.htmlÄÚÈÝÈçÏ£º
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional// ......