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

asp.netÖйýÂÔhtml´úÂë

// <summary>
        /// ¹ýÂËhtml´úÂë
        /// </summary>
        public static string RphtmlStr(string html)
        {
            try
            {
                System.Text.RegularExpressions.Regex regex1 = new System.Text.RegularExpressions.Regex(@"<script[\s\S]+</script *>", System.Text.RegularExpressions.RegexOptions.IgnoreCase);
                System.Text.RegularExpressions.Regex regex2 = new System.Text.RegularExpressions.Regex(@" href *= *[\s\S]*script *:", System.Text.RegularExpressions.RegexOptions.IgnoreCase);
                System.Text.RegularExpressions.Regex regex3 = new System.Text.RegularExpressions.Regex(@" no[\s\S]*=", System.Text.RegularExpressions.RegexOptions.IgnoreCase);
                System.Text.RegularExpressions.Regex regex4 = new System.Text.RegularExpressions.Regex(@"<iframe[\s\S]+</iframe *>", System.Text.RegularExpressions.RegexOptions.IgnoreCase);
                System.Text.RegularExpressions.Regex regex5 = new System.Text.RegularExpressions.Regex(@"<frameset[\s\S]+</frameset *>", System.Text.RegularExpressions.RegexOptions.IgnoreCase);
                System.Text.RegularExpressions.Regex regex6 = new System.Text.RegularExpressions.Regex(@"\<img[^\>]+\>", System.Text.RegularExpres


Ïà¹ØÎĵµ£º

Á˽âHTML 5

W3C ÔÚ 1 Ô 22 ÈÕ·¢²¼ÁË×îÐ嵀 HTML 5 ¹¤×÷²Ý°¸¡£ HTML 5 ¹¤×÷×é°üÀ¨ AOL, Apple, Google, IBM, Microsoft, Mozilla, Nokia, Opera ÒÔ¼°Êý°Ù¸öÆäËûµÄ¿ª·¢ÉÌ¡£ HTML 5 ÖеÄһЩÐÂÌØÐÔ£ºÇ¶ÈëÒôƵ¡¢ÊÓÆµ¡¢Í¼Æ¬µÄº¯Êý¡¢¿Í»§¶ËÊý¾Ý´æ´¢£¬ÒÔ¼°½»»¥Ê½Îĵµ¡£ÆäËûÌØÐÔ°üÀ¨ÐµÄÒ³ÃæÔªËØ£¬±ÈÈç <header>, <section>, &l ......

ASP.NET½Ì³ÌµÚÒ»½²¡¡ASP.NET¼ò½é ÒõÑôÃá

ÒõÑôÃá
¡¡¡¡´Ó½ñÌ쿪ʼÆð£¬»ù¶½É½½«ºÍ´ó¼ÒÒ»Æð½øÈëASP.net Öî¶à³ÌÐòµÄѧϰÖУ¬ÀÏʵ˵£¬.netµ½µ×ÊÇ·¨±¦»¹ÊÇÀ¬»ø£¬ÎÒÃÇÊÃÄ¿ÒÔ´ý¡£ÓÐÈκÎÎÊÌ⣬ÁªÂç»ù¶½É½ seaman@163.com
ʲôÊÇASP.net£¬ASP.netµÄ°²×°
¡¡¡¡1.1 ʲôÊÇASP.net
¡¡¡¡ASP.net ÊÇÒ»ÖÖ½¨Á¢ÔÚͨÓÃÓïÑÔÉϵijÌÐò¹¹¼Ü£¬Äܱ»ÓÃÓÚһ̨Web·þÎñÆ÷À´½¨Á¢Ç¿´óµÄWebÓ¦Óó ......

jQueryѧϰ֮ 為html標籤Ìí¼Ócss

<div id='box_id' >test </div>
$('#box_ld').css("display","block"); 
×¢Ò⣺為input Ìí¼ÓÖ»讀µÄ樣ʽ²¢²»ÊÇ 
 $("#gameuser_username").css("readonly","readonly");
¶øÊÇ
$("#gameuser_username").attr('readonly','readonly');
  ......

ʵÓÃASP.NETÆß´óÄÚÖöÔÏóÏê½â

Ò»¡¢Response¶ÔÏó
Response¶ÔÏóÊÇHttpResponseÀàµÄÒ»¸öʵÀý¡£¸ÃÀàÖ÷ÒªÊÇ·â×°À´×ÔASP.NET²Ù×÷µÄHTTPÏìÓ¦ÐÅÏ¢¡£
1.Response¶ÔÏóµÄÊôÐÔ
   ¢Ù BufferOutput
   ˵Ã÷£º»ñÈ¡»òÉèÖÃÒ»¸öÖµ£¬¸ÃֵָʾÊÇ·ñ»º³åÊä³ö£¬²¢ÔÚÍê³É´¦ÀíÕû¸öÒ³Ö®ºó½«Æä·¢ËÍ
   ÊôÐÔÖµ£ºÈç¹û»º³åÁ˵½¿Í»§¶ËµÄÊä³ö£¬ ......

javascriptµ÷ÓÃasp.netºǫ́µÄ¼¸ÖÖ·½·¨

1. javaScriptº¯ÊýÖÐÖ´ÐÐC#´úÂëÖеĺ¯Êý£º
·½·¨Ò»£º1¡¢Ê×ÏȽ¨Á¢Ò»¸ö°´Å¥£¬ÔÚºǫ́½«µ÷Óûò´¦ÀíµÄÄÚÈÝдÈëbutton_clickÖÐ;
        2¡¢ÔÚǰ̨дһ¸öjsº¯Êý£¬ÄÚÈÝΪdocument.getElementById("btn1").click();
        3¡¢ÔÚǰ̨»òºǫ́µ÷ÓÃjsº¯Êý£¬¼¤·¢clickʼþ£¬µÈÓÚ·ÃÎʺǫ́c ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ