Çó½Ì.netÀïʹÓÃjquery ajaxµÄ·½·¨
C# code:
protected void Button1_Click(object sender, EventArgs e)
{
System.IO.File.Delete("01.html");
Response.Write("ÕýÔÚɾ³ý01.html³É¹¦");
System.IO.File.Delete("xx.html");
Response.Write("ÕýÔÚɾ³ýxx.html³É¹¦");
System.IO.File.Delete("hh.html");
Response.Write("ÕýÔÚɾ³ýhh.html³É¹¦");
System.IO.File.Delete("kk.html");
Response.Write("ÕýÔÚɾ³ý05.html³É¹¦");
System.IO.File.Delete("uuu.html");
Response.Write("ÕýÔÚɾ³ýuuu.html³É¹¦");
System.IO.File.Move("oo.html", "ooo.html");
Response.Write("oo.htmlÖØÃüÃûooo.html³É¹¦");
System.IO.Directory.CreateDirectory("aa");
Response.Write("´´½¨aaĿ¼³É¹¦");
System.IO.Directory.Delete("bb");
Response.Write("´´½¨bbĿ¼³É¹¦");
}
ÉÏÃæµÄ·½·¨²½Ö裬Ôõôͨ¹ýjqueryµÄajax·½Ê½Ò»²½Ò»²½µÄÊä³ö£¬´ïµ½ÊµÊ±ÏÔʾ£¬¼´²Ù×÷¼ÈÏÔʾ¡£
×îºÃÄÜÓдúÂ룬ÏÈËÍÉÏ100·Ö£¬Èç¹û½â¾öÁËÎÊÌâÔÚËÍÉÏ100·Ö
°ï¶¥
Up
лл¥ÉÏ£¬200·ÖËÍÉÏ~
Ïà¹ØÎÊ´ð£º
²é¿´Ô´Îļþʱ³öÀ´µÄ
<script type="text/javascript">
// <![CDATA[
Sys.Application.initialize();
Sys.Application.add_init(function() {
$create(Sys.UI._Upd ......
<div id="div6" runat="server" style= "height:auto;width:auto; text-align: left;">
& ......
HTML code:
<form action="<%=request.getContextPath()%>/advertAdd.adp?op=Y" id="addAdvertForm" name="addAdvertForm" method="post" enctype="mult ......
Ö÷Ò³ÖÐÓиöÄ£¿é£¨µ÷ÓÃĸ°æÒ³£©ÓÐÒ»¸öDropDownlist ºÍÒ»¸öLabel¿Ø¼þ£¬ÒªÇóÑ¡ÔñDropDownlistÖеÄÏîʱ °ÑÊý¾Ý¿âÖÐÏàÓ¦µÄÄÚÈÝÏÔʾµ½LabelÉÏ ¶ø²»Ë¢ÐÂÕû¸öÒ³Ãæ¡£
֮ǰû¶ÔAjaxÓÐÈκÎÁ˽⣬²»ÖªµÀÈçºÎʵÏÖ¾Ö²¿Ë¢Ð¡£ÏÖÔ ......
ÈçͼËùʾ
Çë¸ßÊÖÃǸø¸ö·½°¸~~~~~ ÔÚ´Ëл¹ý~~~~~~~~
µã»÷ »»Ò»Ì×ÎÒϲ»¶µÄÃæ¾ß
ÓÃjs¸Ä±äÏÂͼÏñµÄsrc¾Í¿ÉÒÔÁË
ÒýÓÃ
µã»÷ »»Ò»Ì×ÎÒϲ»¶µÄÃæ¾ß ......