<rt id="yyque"></rt>
  • <tfoot id="yyque"></tfoot>
  • <abbr id="yyque"></abbr>\n     \n<\/body>\n<\/html><\/pre><\/p>The button of the above code is the target object of the click event, which binds two script codes through the event attribute onclick of the label for event processing. The above code is run after the Chrome browser , when the user clicks the button, a warning dialog box will pop up, and the result is as shown in the figure below.

    <\/p>

    \"How<\/p>When the event handler involves more than 2 codes, if there are still Binding an event handler like Example 1 makes the program less readable. Instead, define the event handler as a function and call the function in the event property.

    <\/p>

    [Example 2] The event attribute of the HTML tag is a function call. <\/strong>

    \n\n\n\nHTML標(biāo)簽的事件屬性為函數(shù)調(diào)用<\/title>\n
    	
    <meta http-equiv="Cache-Control" content="no-transform" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <script>var V_PATH="/";window.onerror=function(){ return true; };</script>
    </head>
    
    <body data-commit-time="2023-12-28T14:50:12+08:00" class="editor_body body2_2">
    <h1><a href="http://m.miracleart.cn/">国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂</a></h1>
    	<link rel="stylesheet" type="text/css" href="/static/csshw/stylehw.css">
    <header>
        <div   id="377j5v51b"   class="head">
            <div   id="377j5v51b"   class="haed_left">
                <div   id="377j5v51b"   class="haed_logo">
                    <a href="http://m.miracleart.cn/" title="" class="haed_logo_a">
                        <img src="/static/imghw/logo.png" alt="" class="haed_logoimg">
                    </a>
                </div>
                <div   id="377j5v51b"   class="head_nav">
                    <div   id="377j5v51b"   class="head_navs">
                        <a href="javascript:;" title="Community" class="head_nava head_nava-template1">Community</a>
                        <div   class="377j5v51b"   id="dropdown-template1" style="display: none;">
                            <div   id="377j5v51b"   class="languagechoose">
                                <a href="http://m.miracleart.cn/article.html" title="Articles" class="languagechoosea on">Articles</a>
                                <a href="http://m.miracleart.cn/faq/zt" title="Topics" class="languagechoosea">Topics</a>
                                <a href="http://m.miracleart.cn/wenda.html" title="Q&A" class="languagechoosea">Q&A</a>
                            </div>
                        </div>
                    </div>
    
                    <div   id="377j5v51b"   class="head_navs">
                        <a href="javascript:;" title="Learn" class="head_nava head_nava-template1_1">Learn</a>
                        <div   class="377j5v51b"   id="dropdown-template1_1" style="display: none;">
                            <div   id="377j5v51b"   class="languagechoose">
                                <a href="http://m.miracleart.cn/course.html" title="Course" class="languagechoosea on">Course</a>
                                <a href="http://m.miracleart.cn/dic/" title="Programming Dictionary" class="languagechoosea">Programming Dictionary</a>
                            </div>
                        </div>
                    </div>
    
                    <div   id="377j5v51b"   class="head_navs">
                        <a href="javascript:;" title="Tools Library" class="head_nava head_nava-template1_2">Tools Library</a>
                        <div   class="377j5v51b"   id="dropdown-template1_2" style="display: none;">
                            <div   id="377j5v51b"   class="languagechoose">
                                <a href="http://m.miracleart.cn/toolset/development-tools" title="Development tools" class="languagechoosea on">Development tools</a>
                                <a href="http://m.miracleart.cn/toolset/website-source-code" title="Website Source Code" class="languagechoosea">Website Source Code</a>
                                <a href="http://m.miracleart.cn/toolset/php-libraries" title="PHP Libraries" class="languagechoosea">PHP Libraries</a>
                                <a href="http://m.miracleart.cn/toolset/js-special-effects" title="JS special effects" class="languagechoosea on">JS special effects</a>
                                <a href="http://m.miracleart.cn/toolset/website-materials" title="Website Materials" class="languagechoosea on">Website Materials</a>
                                <a href="http://m.miracleart.cn/toolset/extension-plug-ins" title="Extension plug-ins" class="languagechoosea on">Extension plug-ins</a>
                            </div>
                        </div>
                    </div>
    
                    <div   id="377j5v51b"   class="head_navs">
                        <a href="http://m.miracleart.cn/ai" title="AI Tools" class="head_nava head_nava-template1_3">AI Tools</a>
                    </div>
    
                    <div   id="377j5v51b"   class="head_navs">
                        <a href="javascript:;" title="Leisure" class="head_nava head_nava-template1_3">Leisure</a>
                        <div   class="377j5v51b"   id="dropdown-template1_3" style="display: none;">
                            <div   id="377j5v51b"   class="languagechoose">
                                <a href="http://m.miracleart.cn/game" title="Game Download" class="languagechoosea on">Game Download</a>
                                <a href="http://m.miracleart.cn/mobile-game-tutorial/" title="Game Tutorials" class="languagechoosea">Game Tutorials</a>
    
                            </div>
                        </div>
                    </div>
                </div>
            </div>
                        <div   id="377j5v51b"   class="head_search">
                    <input id="key_words"  onkeydown="if (event.keyCode == 13) searchs('en')" class="search-input" type="text" autocomplete="off" name="keywords" required="required" placeholder="Block,address,transaction,news" value="">
                    <a href="javascript:;" title="search"  onclick="searchs('en')"><img src="/static/imghw/find.png" alt="search"></a>
                </div>
                    <div   id="377j5v51b"   class="head_right">
                <div   id="377j5v51b"   class="haed_language">
                    <a href="javascript:;" class="layui-btn haed_language_btn">English<i class="layui-icon layui-icon-triangle-d"></i></a>
                    <div   class="377j5v51b"   id="dropdown-template" style="display: none;">
                        <div   id="377j5v51b"   class="languagechoose">
                                                    <a href="javascript:setlang('zh-cn');" title="簡(jiǎn)體中文" class="languagechoosea">簡(jiǎn)體中文</a>
                                                    <a href="javascript:;" title="English" class="languagechoosea">English</a>
                                                    <a href="javascript:setlang('zh-tw');" title="繁體中文" class="languagechoosea">繁體中文</a>
                                                    <a href="javascript:setlang('ja');" title="日本語(yǔ)" class="languagechoosea">日本語(yǔ)</a>
                                                    <a href="javascript:setlang('ko');" title="???" class="languagechoosea">???</a>
                                                    <a href="javascript:setlang('ms');" title="Melayu" class="languagechoosea">Melayu</a>
                                                    <a href="javascript:setlang('fr');" title="Fran?ais" class="languagechoosea">Fran?ais</a>
                                                    <a href="javascript:setlang('de');" title="Deutsch" class="languagechoosea">Deutsch</a>
                                                </div>
                    </div>
                </div>
                <span id="377j5v51b"    class="head_right_line"></span>
                                <div style="display: block;" id="login" class="haed_login ">
                        <a href="javascript:;"  title="Login" class="haed_logina ">Login</a>
                    </div>
                    <div style="display: block;" id="reg" class="head_signup login">
                        <a href="javascript:;"  title="singup" class="head_signupa">singup</a>
                    </div>
                
            </div>
        </div>
    </header>
    
    	
    	<main>
    		<div   id="377j5v51b"   class="Article_Details_main">
    			<div   id="377j5v51b"   class="Article_Details_main1">
    							<div   id="377j5v51b"   class="Article_Details_main1M">
    					<div   id="377j5v51b"   class="phpgenera_Details_mainL1">
    						<a href="http://m.miracleart.cn/" title="Home"
    							class="phpgenera_Details_mainL1a">Home</a>
    						<img src="/static/imghw/top_right.png" alt="" />
    												<a href="http://m.miracleart.cn/web-designer.html"
    							class="phpgenera_Details_mainL1a">Web Front-end</a>
    						<img src="/static/imghw/top_right.png" alt="" />
    												<a href="http://m.miracleart.cn/js-tutorial.html"
    							class="phpgenera_Details_mainL1a">JS  Tutorial</a>
    						<img src="/static/imghw/top_right.png" alt="" />
    						<span>How to bind events in javascript</span>
    					</div>
    					
    					<div   id="377j5v51b"   class="Articlelist_txts">
    						<div   id="377j5v51b"   class="Articlelist_txts_info">
    							<h1 class="Articlelist_txts_title">How to bind events in javascript</h1>
    							<div   id="377j5v51b"   class="Articlelist_txts_info_head">
    								<div   id="377j5v51b"   class="author_info">
    									<a href="http://m.miracleart.cn/member/287557.html"  class="author_avatar">
    									<img class="lazy"  data-src="https://img.php.cn/upload/avatar/000/287/557/5bef70171e9f3249.jpg" src="/static/imghw/default1.png" alt="青燈夜游">
    									</a>
    									<div   id="377j5v51b"   class="author_detail">
    																			<a href="http://m.miracleart.cn/member/287557.html" class="author_name">青燈夜游</a>
                                    										</div>
    								</div>
                    			</div>
    							<span id="377j5v51b"    class="Articlelist_txts_time">Jul 19, 2021 pm	 02:14 PM</span>
    															<div   id="377j5v51b"   class="Articlelist_txts_infos">
    																			<span id="377j5v51b"    class="Articlelist_txts_infoss on">javascript</span>
    																			<span id="377j5v51b"    class="Articlelist_txts_infoss ">Binding events</span>
    																	</div>
    														
    						</div>
    					</div>
    					<hr />
    					<div   id="377j5v51b"   class="article_main php-article">
    						<div   id="377j5v51b"   class="article-list-left detail-content-wrap content">
    						<ins class="adsbygoogle"
    							style="display:block; text-align:center;"
    							data-ad-layout="in-article"
    							data-ad-format="fluid"
    							data-ad-client="ca-pub-5902227090019525"
    							data-ad-slot="3461856641">
    						</ins>
    						
    
    					<blockquote><p>Method: 1. Use the event attribute onclick of the HTML tag to bind the handler, with the syntax "onclick="event handler""; 2. Use the event attribute of the event source to bind the handler, with the syntax "obj. on event name = handler function"; 3. Use addEventListener() to bind the handler. </p></blockquote>
    <p><img  src="/static/imghw/default1.png" data-src="https://img.php.cn/upload/article/202107/19/2021071913584963188.jpg" class="lazy" alt="How to bind events in javascript" ></p>
    <p>The operating environment of this tutorial: windows7 system, javascript version 1.8.5, Dell G3 computer. </p>
    <p>In order for the browser to automatically call the corresponding event handler to handle the event when the event occurs, it is necessary to bind the event handler to the event source (the bound event handler is also called a registered event handler). </p>
    <p><strong>There are 3 ways to bind event handlers: </strong></p>
    <ul style="list-style-type: disc;">
    <li>##Use the event attribute onclick of the HTML tag to bind the event handler. This method sets the event attribute value of the tag to the event handler. This method is not recommended now. <p></p>
    </li>
    <li>Use the event attribute of the event source to bind the event handler function. This method sets the event attribute value of the event source object to the event processing function. <p></p>
    </li>
    <li>Use the addEventListener() method to bind events and event handling functions (versions before IE9 use the attach Event() method. <p></p>
    </li>
    </ul>
    <p><span style="font-size: 18px;">1. Use the event attribute of the HTML tag to bind the handler. <strong></strong></span></p>It should be noted that when using the event attribute of the HTML tag to bind the event handler, the event The script code in the attribute cannot contain a function declaration, but can be a function call or a series of script codes separated by semicolons. <p></p>
    <p>[Example 1] Bind an event handler using the event attribute of the HTML tag .<strong></strong><pre class='brush:php;toolbar:false;'><!DOCTYPE html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>使用HTML標(biāo)簽的事件屬性綁定事件處理程序</title>
    </head>
    <body>
         <input type="button" onclick="var name=&#39;PHP中文網(wǎng)&#39;;alert(name);" value="事件綁定測(cè)試"/>
    </body>
    </html></pre></p>The button of the above code is the target object of the click event, which binds two script codes through the event attribute onclick of the label for event processing. The above code is run after the Chrome browser , when the user clicks the button, a warning dialog box will pop up, and the result is as shown in the figure below. <p></p><p><img src="/static/imghw/default1.png"  data-src="https://img.php.cn/upload/image/439/678/998/1626675184969830.png"  class="lazy" title="162667508846661How to bind events in javascript" alt="How to bind events in javascript"/></p>When the event handler involves more than 2 codes, if there are still Binding an event handler like Example 1 makes the program less readable. Instead, define the event handler as a function and call the function in the event property.<p></p> <p>[Example 2] The event attribute of the HTML tag is a function call. <strong></strong><pre class='brush:php;toolbar:false;'><!DOCTYPE html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>HTML標(biāo)簽的事件屬性為函數(shù)調(diào)用</title>
    <script>
         function printName(){
              var name = "PHP中文網(wǎng)";
              alert(name);
         }
    </script>
    </head>
    <body>
         <input type="button" onClick="printName()" value="事件綁定測(cè)試"/>
    </body>
    </html></pre></p>The execution result of the above code is exactly the same as Example 1. As can be seen from the above two examples, the tag event attribute will JS script code and HTML tags are mixed together, which violates the Web standard principle that JS and HTML should be separated. Therefore, it is not good to use the event attribute of HTML tags to bind event handlers, and should be avoided in actual applications.<p></p><p><span style="font-size: 18px;">2. Bind handlers using event attributes of event sources <strong></strong></span></p>One of the ways to separate HTML and JS is by using event sources. The event attribute binds the event processing function. The binding format is as follows: <p><pre class='brush:php;toolbar:false;'>obj.on事件名 = 事件處理函數(shù)</pre></p>obj in the format is the event source object. The bound event program is usually the definition statement of an anonymous function, or a function name.<p></p>Example of event attribute binding handler of event source:<p><pre class='brush:php;toolbar:false;'>oBtn.onclick = function(){//oBtn為事件源對(duì)象,它的單擊事件綁定了一個(gè)匿名函數(shù)定義
          alert(&#39;hi&#39;)
    };</pre></p><p>[Example 3]Use the event attribute of event source to bind event handler function.<strong></strong><pre class='brush:php;toolbar:false;'><!DOCTYPE html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>使用事件源的事件屬性綁定事件處理函數(shù)</title>
    <script>
         window.onload = function(){//窗口加載事件綁定了一個(gè)匿名函數(shù)
              //定義一個(gè)名為fn的函數(shù)
              function fn(){
                   alert(&#39;hello&#39;);
              }
              //獲取事件源對(duì)象
              var oBtn1 = document.getElementById("btn1");
              var oBtn2 = document.getElementById("btn2");
             
              //綁定一個(gè)匿名函數(shù)
              oBtn1.onclick = function(){
                   alert("hi");
              }
              //綁定一個(gè)函數(shù)名
              oBtn2.onclick = fn;
         };
    </script>
    </head>
    <body>
       <input type="button" id="btn1" value="綁定一個(gè)匿名函數(shù)">
       <input type="button" id="btn2" value="綁定一個(gè)函數(shù)名">
    </body>
    </html></pre></p> Three events are processed in the above JS code: the document window loading event load and the click event of the two buttons. The processing of these three events is achieved by binding the event processing function using the event attribute of the event source. The load event and the click event of the first button are bound to an anonymous function, while the click event of the second button is bound to a function name. <p></p>It is important to note that you cannot add "()" after the function name bound by oBtn2, otherwise the bound function will become a function call, which will automatically occur when the JS engine executes this line of code. The call is executed, but it will not be executed when the event is triggered. <p></p>The window loading event function will be processed after all elements of the document are loaded, and the click event will be triggered when each button is clicked. After clicking the first and second buttons, two warning dialog boxes showing "hi" and "hello" will pop up respectively. <p></p><p><img src="/static/imghw/default1.png"  data-src="https://img.php.cn/upload/image/439/678/998/1626675184969830.png"  class="lazy" title="162667518012545How to bind events in javascript" alt="How to bind events in javascript"/></p><p><img src="/static/imghw/default1.png"  data-src="https://img.php.cn/upload/image/439/678/998/1626675184969830.png"  class="lazy" title="1626675184969830.png" alt="How to bind events in javascript"/></p><p>##3. Use addEventListener() to bind the handler<span   style="max-width:90%"><strong></strong></span>Using the event attribute of the event source object to bind event handlers is simple, but it has a shortcoming: an event can only be bound to one handler, and the event handler bound later will overwrite the previously bound event. processing function. In actual applications, an event from an event source may be processed by multiple functions. </p><p>當(dāng)一個(gè)事件源需要使用多個(gè)函數(shù)來(lái)處理時(shí),可以通過事件源調(diào)用 addEventListener()(針對(duì)標(biāo)準(zhǔn)瀏覽器)來(lái)綁定事件處理函數(shù)以實(shí)現(xiàn)此需求。一個(gè)事件源通過方法綁定多個(gè)事件函數(shù)的實(shí)現(xiàn)方式是:對(duì)事件源對(duì)象調(diào)用多次 addEventListener(),其中每次的調(diào)用只綁定一個(gè)事件處理函數(shù)。</p><p>addEventListener() 是標(biāo)準(zhǔn)事件模型中的一個(gè)方法,對(duì)所有標(biāo)準(zhǔn)瀏覽器都有效。使用 addEvent Liste ner() 綁定事件處理程序的格式如下:</p><pre class='brush:php;toolbar:false;'>事件源.addEventListener(事件名稱,事件處理函數(shù)名,是否捕獲);</pre><p>參數(shù)“事件名稱”是一個(gè)不帶“on”的事件名;參數(shù)“是否捕獲”是一個(gè)布爾值,默認(rèn)值為 false,取 false 時(shí)實(shí)現(xiàn)事件冒泡,取 true 時(shí)實(shí)現(xiàn)事件捕獲。</p><p>通過多次調(diào)用 addEventListener() 可以為一個(gè)事件源對(duì)象的同一個(gè)事件類型綁定多個(gè)事件處理函數(shù)。當(dāng)對(duì)象發(fā)生事件時(shí),所有該事件綁定的事件處理函數(shù)就會(huì)按照綁定的順序依次調(diào)用執(zhí)行。另外,需要注意的是,addEventListener() 綁定的事件處理函數(shù)中的 this 指向事件源。</p><p>addEventListener() 綁定處理程序示例:</p><pre class='brush:php;toolbar:false;'>document.addEventListener(&#39;click&#39;,fn1,false);//click事件綁定fn1函數(shù)實(shí)現(xiàn)事件冒泡
    document.addEventListener(&#39;click&#39;,fn2,true);//click事件綁定fn2函數(shù)實(shí)現(xiàn)事件捕獲</pre><p><strong>【例 4】使用 addEventListener() 綁定事件函數(shù)。</strong></p><pre class='brush:php;toolbar:false;'><!DOCTYPE html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>使用addEventListener()/attachEvent()綁定事件函數(shù)</title>
    <script>
         function fn1(){
              alert("fn1()");
         }
         function fn2(){
             alert("fn2()");
         }
         function bindTest(){
             document.addEventListener(&#39;click&#39;,fn1,false);//首先綁定fn1函數(shù)   
             document.addEventListener(&#39;click&#39;,fn2,false);   
         }
         bindTest();//調(diào)用函數(shù)
    </script>
    </head>
    <body>
    </body>
    </html></pre></p>
    <p>上述代碼在瀏覽器中運(yùn)行后,當(dāng)單擊文檔窗口時(shí),會(huì)依次彈出顯示“fn1()”和“fn2()”的警告對(duì)話框。</p>
    <p><img src="/static/imghw/default1.png" data-src="https://img.php.cn/upload/image/569/334/907/1626675235798627.png" class="lazy" title="1626675235798627.png" alt="How to bind events in javascript"></p>
    <p><img src="/static/imghw/default1.png" data-src="https://img.php.cn/upload/image/739/918/147/1626675238618277.png" class="lazy" title="1626675238618277.png" alt="How to bind events in javascript"></p>
    <p>【推薦學(xué)習(xí):<a href="http://m.miracleart.cn/course/list/2.html" target="_blank">javascript高級(jí)教程</a>】</p><p>The above is the detailed content of How to bind events in javascript. For more information, please follow other related articles on the PHP Chinese website!</p>
    
    
    						</div>
    					</div>
    					<div   id="377j5v51b"   class="wzconShengming_sp">
    						<div   id="377j5v51b"   class="bzsmdiv_sp">Statement of this Website</div>
    						<div>The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn</div>
    					</div>
    				</div>
    
    				<ins class="adsbygoogle"
         style="display:block"
         data-ad-format="autorelaxed"
         data-ad-client="ca-pub-5902227090019525"
         data-ad-slot="2507867629"></ins>
    
    
    
    				<div   id="377j5v51b"   class="AI_ToolDetails_main4sR">
    
    
    				<ins class="adsbygoogle"
            style="display:block"
            data-ad-client="ca-pub-5902227090019525"
            data-ad-slot="3653428331"
            data-ad-format="auto"
            data-full-width-responsive="true"></ins>
        
    
    
    					<!-- <div   id="377j5v51b"   class="phpgenera_Details_mainR4">
    						<div   id="377j5v51b"   class="phpmain1_4R_readrank">
    							<div   id="377j5v51b"   class="phpmain1_4R_readrank_top">
    								<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    									onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    									src="/static/imghw/hotarticle2.png" alt="" />
    								<h2>Hot Article</h2>
    							</div>
    							<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottom">
    															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://m.miracleart.cn/faq/1796821119.html" title="Guide: Stellar Blade Save File Location/Save File Lost/Not Saving" class="phpgenera_Details_mainR4_bottom_title">Guide: Stellar Blade Save File Location/Save File Lost/Not Saving</a>
    									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
    										<span>4 weeks ago</span>
    										<span>By DDD</span>
    									</div>
    								</div>
    															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://m.miracleart.cn/faq/1796828723.html" title="Agnes Tachyon Build Guide | A Pretty Derby Musume" class="phpgenera_Details_mainR4_bottom_title">Agnes Tachyon Build Guide | A Pretty Derby Musume</a>
    									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
    										<span>2 weeks ago</span>
    										<span>By Jack chen</span>
    									</div>
    								</div>
    															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://m.miracleart.cn/faq/1796827210.html" title="Oguri Cap Build Guide | A Pretty Derby Musume" class="phpgenera_Details_mainR4_bottom_title">Oguri Cap Build Guide | A Pretty Derby Musume</a>
    									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
    										<span>2 weeks ago</span>
    										<span>By Jack chen</span>
    									</div>
    								</div>
    															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://m.miracleart.cn/faq/1796821436.html" title="Dune: Awakening - Advanced Planetologist Quest Walkthrough" class="phpgenera_Details_mainR4_bottom_title">Dune: Awakening - Advanced Planetologist Quest Walkthrough</a>
    									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
    										<span>4 weeks ago</span>
    										<span>By Jack chen</span>
    									</div>
    								</div>
    															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://m.miracleart.cn/faq/1796821278.html" title="Date Everything: Dirk And Harper Relationship Guide" class="phpgenera_Details_mainR4_bottom_title">Date Everything: Dirk And Harper Relationship Guide</a>
    									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
    										<span>4 weeks ago</span>
    										<span>By Jack chen</span>
    									</div>
    								</div>
    														</div>
    							<div   id="377j5v51b"   class="phpgenera_Details_mainR3_more">
    								<a href="http://m.miracleart.cn/article.html">Show More</a>
    							</div>
    						</div>
    					</div> -->
    
    
    											<div   id="377j5v51b"   class="phpgenera_Details_mainR3">
    							<div   id="377j5v51b"   class="phpmain1_4R_readrank">
    								<div   id="377j5v51b"   class="phpmain1_4R_readrank_top">
    									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    										onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    										src="/static/imghw/hottools2.png" alt="" />
    									<h2>Hot AI Tools</h2>
    								</div>
    								<div   id="377j5v51b"   class="phpgenera_Details_mainR3_bottom">
    																		<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
    											<a href="http://m.miracleart.cn/ai/undress-ai-tool" title="Undress AI Tool" class="phpmain_tab2_mids_top_img">
    												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													class="lazy"  data-src="https://img.php.cn/upload/ai_manual/001/246/273/173410641626608.jpg?x-oss-process=image/resize,m_fill,h_50,w_50" src="/static/imghw/default1.png" alt="Undress AI Tool" />
    											</a>
    											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
    												<a href="http://m.miracleart.cn/ai/undress-ai-tool" title="Undress AI Tool" class="phpmain_tab2_mids_title">
    													<h3>Undress AI Tool</h3>
    												</a>
    												<p>Undress images for free</p>
    											</div>
    										</div>
    																		<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
    											<a href="http://m.miracleart.cn/ai/undresserai-undress" title="Undresser.AI Undress" class="phpmain_tab2_mids_top_img">
    												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													class="lazy"  data-src="https://img.php.cn/upload/ai_manual/001/246/273/173411540686492.jpg?x-oss-process=image/resize,m_fill,h_50,w_50" src="/static/imghw/default1.png" alt="Undresser.AI Undress" />
    											</a>
    											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
    												<a href="http://m.miracleart.cn/ai/undresserai-undress" title="Undresser.AI Undress" class="phpmain_tab2_mids_title">
    													<h3>Undresser.AI Undress</h3>
    												</a>
    												<p>AI-powered app for creating realistic nude photos</p>
    											</div>
    										</div>
    																		<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
    											<a href="http://m.miracleart.cn/ai/ai-clothes-remover" title="AI Clothes Remover" class="phpmain_tab2_mids_top_img">
    												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													class="lazy"  data-src="https://img.php.cn/upload/ai_manual/001/246/273/173411552797167.jpg?x-oss-process=image/resize,m_fill,h_50,w_50" src="/static/imghw/default1.png" alt="AI Clothes Remover" />
    											</a>
    											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
    												<a href="http://m.miracleart.cn/ai/ai-clothes-remover" title="AI Clothes Remover" class="phpmain_tab2_mids_title">
    													<h3>AI Clothes Remover</h3>
    												</a>
    												<p>Online AI tool for removing clothes from photos.</p>
    											</div>
    										</div>
    																		<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
    											<a href="http://m.miracleart.cn/ai/clothoffio" title="Clothoff.io" class="phpmain_tab2_mids_top_img">
    												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													class="lazy"  data-src="https://img.php.cn/upload/ai_manual/001/246/273/173411529149311.jpg?x-oss-process=image/resize,m_fill,h_50,w_50" src="/static/imghw/default1.png" alt="Clothoff.io" />
    											</a>
    											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
    												<a href="http://m.miracleart.cn/ai/clothoffio" title="Clothoff.io" class="phpmain_tab2_mids_title">
    													<h3>Clothoff.io</h3>
    												</a>
    												<p>AI clothes remover</p>
    											</div>
    										</div>
    																		<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
    											<a href="http://m.miracleart.cn/ai/video-swap" title="Video Face Swap" class="phpmain_tab2_mids_top_img">
    												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													class="lazy"  data-src="https://img.php.cn/upload/ai_manual/001/246/273/173414504068133.jpg?x-oss-process=image/resize,m_fill,h_50,w_50" src="/static/imghw/default1.png" alt="Video Face Swap" />
    											</a>
    											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
    												<a href="http://m.miracleart.cn/ai/video-swap" title="Video Face Swap" class="phpmain_tab2_mids_title">
    													<h3>Video Face Swap</h3>
    												</a>
    												<p>Swap faces in any video effortlessly with our completely free AI face swap tool!</p>
    											</div>
    										</div>
    																</div>
    								<div   id="377j5v51b"   class="phpgenera_Details_mainR3_more">
    									<a href="http://m.miracleart.cn/ai">Show More</a>
    								</div>
    							</div>
    						</div>
    					
    
    
    					<div   id="377j5v51b"   class="phpgenera_Details_mainR4">
    						<div   id="377j5v51b"   class="phpmain1_4R_readrank">
    							<div   id="377j5v51b"   class="phpmain1_4R_readrank_top">
    								<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    									onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    									src="/static/imghw/hotarticle2.png" alt="" />
    								<h2>Hot Article</h2>
    							</div>
    							<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottom">
    															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://m.miracleart.cn/faq/1796821119.html" title="Guide: Stellar Blade Save File Location/Save File Lost/Not Saving" class="phpgenera_Details_mainR4_bottom_title">Guide: Stellar Blade Save File Location/Save File Lost/Not Saving</a>
    									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
    										<span>4 weeks ago</span>
    										<span>By DDD</span>
    									</div>
    								</div>
    															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://m.miracleart.cn/faq/1796828723.html" title="Agnes Tachyon Build Guide | A Pretty Derby Musume" class="phpgenera_Details_mainR4_bottom_title">Agnes Tachyon Build Guide | A Pretty Derby Musume</a>
    									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
    										<span>2 weeks ago</span>
    										<span>By Jack chen</span>
    									</div>
    								</div>
    															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://m.miracleart.cn/faq/1796827210.html" title="Oguri Cap Build Guide | A Pretty Derby Musume" class="phpgenera_Details_mainR4_bottom_title">Oguri Cap Build Guide | A Pretty Derby Musume</a>
    									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
    										<span>2 weeks ago</span>
    										<span>By Jack chen</span>
    									</div>
    								</div>
    															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://m.miracleart.cn/faq/1796821436.html" title="Dune: Awakening - Advanced Planetologist Quest Walkthrough" class="phpgenera_Details_mainR4_bottom_title">Dune: Awakening - Advanced Planetologist Quest Walkthrough</a>
    									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
    										<span>4 weeks ago</span>
    										<span>By Jack chen</span>
    									</div>
    								</div>
    															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://m.miracleart.cn/faq/1796821278.html" title="Date Everything: Dirk And Harper Relationship Guide" class="phpgenera_Details_mainR4_bottom_title">Date Everything: Dirk And Harper Relationship Guide</a>
    									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
    										<span>4 weeks ago</span>
    										<span>By Jack chen</span>
    									</div>
    								</div>
    														</div>
    							<div   id="377j5v51b"   class="phpgenera_Details_mainR3_more">
    								<a href="http://m.miracleart.cn/article.html">Show More</a>
    							</div>
    						</div>
    					</div>
    
    
    											<div   id="377j5v51b"   class="phpgenera_Details_mainR3">
    							<div   id="377j5v51b"   class="phpmain1_4R_readrank">
    								<div   id="377j5v51b"   class="phpmain1_4R_readrank_top">
    									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    										onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    										src="/static/imghw/hottools2.png" alt="" />
    									<h2>Hot Tools</h2>
    								</div>
    								<div   id="377j5v51b"   class="phpgenera_Details_mainR3_bottom">
    																		<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
    											<a href="http://m.miracleart.cn/toolset/development-tools/92" title="Notepad++7.3.1" class="phpmain_tab2_mids_top_img">
    												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													class="lazy"  data-src="https://img.php.cn/upload/manual/000/000/001/58ab96f0f39f7357.jpg?x-oss-process=image/resize,m_fill,h_50,w_72" src="/static/imghw/default1.png" alt="Notepad++7.3.1" />
    											</a>
    											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
    												<a href="http://m.miracleart.cn/toolset/development-tools/92" title="Notepad++7.3.1" class="phpmain_tab2_mids_title">
    													<h3>Notepad++7.3.1</h3>
    												</a>
    												<p>Easy-to-use and free code editor</p>
    											</div>
    										</div>
    																			<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
    											<a href="http://m.miracleart.cn/toolset/development-tools/93" title="SublimeText3 Chinese version" class="phpmain_tab2_mids_top_img">
    												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													class="lazy"  data-src="https://img.php.cn/upload/manual/000/000/001/58ab97a3baad9677.jpg?x-oss-process=image/resize,m_fill,h_50,w_72" src="/static/imghw/default1.png" alt="SublimeText3 Chinese version" />
    											</a>
    											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
    												<a href="http://m.miracleart.cn/toolset/development-tools/93" title="SublimeText3 Chinese version" class="phpmain_tab2_mids_title">
    													<h3>SublimeText3 Chinese version</h3>
    												</a>
    												<p>Chinese version, very easy to use</p>
    											</div>
    										</div>
    																			<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
    											<a href="http://m.miracleart.cn/toolset/development-tools/121" title="Zend Studio 13.0.1" class="phpmain_tab2_mids_top_img">
    												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													class="lazy"  data-src="https://img.php.cn/upload/manual/000/000/001/58ab97ecd1ab2670.jpg?x-oss-process=image/resize,m_fill,h_50,w_72" src="/static/imghw/default1.png" alt="Zend Studio 13.0.1" />
    											</a>
    											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
    												<a href="http://m.miracleart.cn/toolset/development-tools/121" title="Zend Studio 13.0.1" class="phpmain_tab2_mids_title">
    													<h3>Zend Studio 13.0.1</h3>
    												</a>
    												<p>Powerful PHP integrated development environment</p>
    											</div>
    										</div>
    																			<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
    											<a href="http://m.miracleart.cn/toolset/development-tools/469" title="Dreamweaver CS6" class="phpmain_tab2_mids_top_img">
    												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													class="lazy"  data-src="https://img.php.cn/upload/manual/000/000/001/58d0e0fc74683535.jpg?x-oss-process=image/resize,m_fill,h_50,w_72" src="/static/imghw/default1.png" alt="Dreamweaver CS6" />
    											</a>
    											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
    												<a href="http://m.miracleart.cn/toolset/development-tools/469" title="Dreamweaver CS6" class="phpmain_tab2_mids_title">
    													<h3>Dreamweaver CS6</h3>
    												</a>
    												<p>Visual web development tools</p>
    											</div>
    										</div>
    																			<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
    											<a href="http://m.miracleart.cn/toolset/development-tools/500" title="SublimeText3 Mac version" class="phpmain_tab2_mids_top_img">
    												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													class="lazy"  data-src="https://img.php.cn/upload/manual/000/000/001/58d34035e2757995.png?x-oss-process=image/resize,m_fill,h_50,w_72" src="/static/imghw/default1.png" alt="SublimeText3 Mac version" />
    											</a>
    											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
    												<a href="http://m.miracleart.cn/toolset/development-tools/500" title="SublimeText3 Mac version" class="phpmain_tab2_mids_title">
    													<h3>SublimeText3 Mac version</h3>
    												</a>
    												<p>God-level code editing software (SublimeText3)</p>
    											</div>
    										</div>
    																	</div>
    								<div   id="377j5v51b"   class="phpgenera_Details_mainR3_more">
    									<a href="http://m.miracleart.cn/ai">Show More</a>
    								</div>
    							</div>
    						</div>
    										
    
    					
    					<div   id="377j5v51b"   class="phpgenera_Details_mainR4">
    						<div   id="377j5v51b"   class="phpmain1_4R_readrank">
    							<div   id="377j5v51b"   class="phpmain1_4R_readrank_top">
    								<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    									onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    									src="/static/imghw/hotarticle2.png" alt="" />
    								<h2>Hot Topics</h2>
    							</div>
    							<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottom">
    															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://m.miracleart.cn/faq/gmailyxdlrkzn" title="Where is the login entrance for gmail email?" class="phpgenera_Details_mainR4_bottom_title">Where is the login entrance for gmail email?</a>
    									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
    										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
    											<img src="/static/imghw/eyess.png" alt="" />
    											<span>8638</span>
    										</div>
    										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
    											<img src="/static/imghw/tiezi.png" alt="" />
    											<span>17</span>
    										</div>
    									</div>
    								</div>
    															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://m.miracleart.cn/faq/java-tutorial" title="Java Tutorial" class="phpgenera_Details_mainR4_bottom_title">Java Tutorial</a>
    									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
    										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
    											<img src="/static/imghw/eyess.png" alt="" />
    											<span>1783</span>
    										</div>
    										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
    											<img src="/static/imghw/tiezi.png" alt="" />
    											<span>16</span>
    										</div>
    									</div>
    								</div>
    															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://m.miracleart.cn/faq/cakephp-tutor" title="CakePHP Tutorial" class="phpgenera_Details_mainR4_bottom_title">CakePHP Tutorial</a>
    									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
    										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
    											<img src="/static/imghw/eyess.png" alt="" />
    											<span>1728</span>
    										</div>
    										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
    											<img src="/static/imghw/tiezi.png" alt="" />
    											<span>56</span>
    										</div>
    									</div>
    								</div>
    															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://m.miracleart.cn/faq/laravel-tutori" title="Laravel Tutorial" class="phpgenera_Details_mainR4_bottom_title">Laravel Tutorial</a>
    									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
    										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
    											<img src="/static/imghw/eyess.png" alt="" />
    											<span>1579</span>
    										</div>
    										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
    											<img src="/static/imghw/tiezi.png" alt="" />
    											<span>28</span>
    										</div>
    									</div>
    								</div>
    															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://m.miracleart.cn/faq/php-tutorial" title="PHP Tutorial" class="phpgenera_Details_mainR4_bottom_title">PHP Tutorial</a>
    									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
    										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
    											<img src="/static/imghw/eyess.png" alt="" />
    											<span>1444</span>
    										</div>
    										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
    											<img src="/static/imghw/tiezi.png" alt="" />
    											<span>31</span>
    										</div>
    									</div>
    								</div>
    														</div>
    							<div   id="377j5v51b"   class="phpgenera_Details_mainR3_more">
    								<a href="http://m.miracleart.cn/faq/zt">Show More</a>
    							</div>
    						</div>
    					</div>
    				</div>
    			</div>
    							<div   id="377j5v51b"   class="Article_Details_main2">
    					<div   id="377j5v51b"   class="phpgenera_Details_mainL4">
    						<div   id="377j5v51b"   class="phpmain1_2_top">
    							<a href="javascript:void(0);" class="phpmain1_2_top_title">Related knowledge<img
    									src="/static/imghw/index2_title2.png" alt="" /></a>
    						</div>
    						<div   id="377j5v51b"   class="phpgenera_Details_mainL4_info">
    
    													<div   id="377j5v51b"   class="phphistorical_Version2_mids">
    								<a href="http://m.miracleart.cn/faq/633480.html" title="WebSocket and JavaScript: key technologies for implementing real-time monitoring systems" class="phphistorical_Version2_mids_img">
    									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    										src="/static/imghw/default1.png" class="lazy"  data-src="https://img.php.cn/upload/article/000/465/014/170280543760094.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="WebSocket and JavaScript: key technologies for implementing real-time monitoring systems" />
    								</a>
    								<a href="http://m.miracleart.cn/faq/633480.html" title="WebSocket and JavaScript: key technologies for implementing real-time monitoring systems" class="phphistorical_Version2_mids_title">WebSocket and JavaScript: key technologies for implementing real-time monitoring systems</a>
    								<span id="377j5v51b"    class="Articlelist_txts_time">Dec 17, 2023 pm	 05:30 PM</span>
    								<p class="Articlelist_txts_p">WebSocket and JavaScript: Key technologies for realizing real-time monitoring systems Introduction: With the rapid development of Internet technology, real-time monitoring systems have been widely used in various fields. One of the key technologies to achieve real-time monitoring is the combination of WebSocket and JavaScript. This article will introduce the application of WebSocket and JavaScript in real-time monitoring systems, give code examples, and explain their implementation principles in detail. 1. WebSocket technology</p>
    							</div>
    														<div   id="377j5v51b"   class="phphistorical_Version2_mids">
    								<a href="http://m.miracleart.cn/faq/633424.html" title="How to implement an online speech recognition system using WebSocket and JavaScript" class="phphistorical_Version2_mids_img">
    									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    										src="/static/imghw/default1.png" class="lazy"  data-src="https://img.php.cn/upload/article/000/887/227/170279609162144.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="How to implement an online speech recognition system using WebSocket and JavaScript" />
    								</a>
    								<a href="http://m.miracleart.cn/faq/633424.html" title="How to implement an online speech recognition system using WebSocket and JavaScript" class="phphistorical_Version2_mids_title">How to implement an online speech recognition system using WebSocket and JavaScript</a>
    								<span id="377j5v51b"    class="Articlelist_txts_time">Dec 17, 2023 pm	 02:54 PM</span>
    								<p class="Articlelist_txts_p">How to use WebSocket and JavaScript to implement an online speech recognition system Introduction: With the continuous development of technology, speech recognition technology has become an important part of the field of artificial intelligence. The online speech recognition system based on WebSocket and JavaScript has the characteristics of low latency, real-time and cross-platform, and has become a widely used solution. This article will introduce how to use WebSocket and JavaScript to implement an online speech recognition system.</p>
    							</div>
    														<div   id="377j5v51b"   class="phphistorical_Version2_mids">
    								<a href="http://m.miracleart.cn/faq/633365.html" title="How to use JavaScript and WebSocket to implement a real-time online ordering system" class="phphistorical_Version2_mids_img">
    									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    										src="/static/imghw/default1.png" class="lazy"  data-src="https://img.php.cn/upload/article/000/887/227/170278617570921.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="How to use JavaScript and WebSocket to implement a real-time online ordering system" />
    								</a>
    								<a href="http://m.miracleart.cn/faq/633365.html" title="How to use JavaScript and WebSocket to implement a real-time online ordering system" class="phphistorical_Version2_mids_title">How to use JavaScript and WebSocket to implement a real-time online ordering system</a>
    								<span id="377j5v51b"    class="Articlelist_txts_time">Dec 17, 2023 pm	 12:09 PM</span>
    								<p class="Articlelist_txts_p">Introduction to how to use JavaScript and WebSocket to implement a real-time online ordering system: With the popularity of the Internet and the advancement of technology, more and more restaurants have begun to provide online ordering services. In order to implement a real-time online ordering system, we can use JavaScript and WebSocket technology. WebSocket is a full-duplex communication protocol based on the TCP protocol, which can realize real-time two-way communication between the client and the server. In the real-time online ordering system, when the user selects dishes and places an order</p>
    							</div>
    														<div   id="377j5v51b"   class="phphistorical_Version2_mids">
    								<a href="http://m.miracleart.cn/faq/633476.html" title="JavaScript and WebSocket: Building an efficient real-time weather forecasting system" class="phphistorical_Version2_mids_img">
    									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    										src="/static/imghw/default1.png" class="lazy"  data-src="https://img.php.cn/upload/article/000/465/014/170280442251580.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="JavaScript and WebSocket: Building an efficient real-time weather forecasting system" />
    								</a>
    								<a href="http://m.miracleart.cn/faq/633476.html" title="JavaScript and WebSocket: Building an efficient real-time weather forecasting system" class="phphistorical_Version2_mids_title">JavaScript and WebSocket: Building an efficient real-time weather forecasting system</a>
    								<span id="377j5v51b"    class="Articlelist_txts_time">Dec 17, 2023 pm	 05:13 PM</span>
    								<p class="Articlelist_txts_p">JavaScript and WebSocket: Building an efficient real-time weather forecast system Introduction: Today, the accuracy of weather forecasts is of great significance to daily life and decision-making. As technology develops, we can provide more accurate and reliable weather forecasts by obtaining weather data in real time. In this article, we will learn how to use JavaScript and WebSocket technology to build an efficient real-time weather forecast system. This article will demonstrate the implementation process through specific code examples. We</p>
    							</div>
    														<div   id="377j5v51b"   class="phphistorical_Version2_mids">
    								<a href="http://m.miracleart.cn/faq/633311.html" title="How to implement an online reservation system using WebSocket and JavaScript" class="phphistorical_Version2_mids_img">
    									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    										src="/static/imghw/default1.png" class="lazy"  data-src="https://img.php.cn/upload/article/000/887/227/170277714783917.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="How to implement an online reservation system using WebSocket and JavaScript" />
    								</a>
    								<a href="http://m.miracleart.cn/faq/633311.html" title="How to implement an online reservation system using WebSocket and JavaScript" class="phphistorical_Version2_mids_title">How to implement an online reservation system using WebSocket and JavaScript</a>
    								<span id="377j5v51b"    class="Articlelist_txts_time">Dec 17, 2023 am	 09:39 AM</span>
    								<p class="Articlelist_txts_p">How to use WebSocket and JavaScript to implement an online reservation system. In today's digital era, more and more businesses and services need to provide online reservation functions. It is crucial to implement an efficient and real-time online reservation system. This article will introduce how to use WebSocket and JavaScript to implement an online reservation system, and provide specific code examples. 1. What is WebSocket? WebSocket is a full-duplex method on a single TCP connection.</p>
    							</div>
    														<div   id="377j5v51b"   class="phphistorical_Version2_mids">
    								<a href="http://m.miracleart.cn/faq/642543.html" title="Simple JavaScript Tutorial: How to Get HTTP Status Code" class="phphistorical_Version2_mids_img">
    									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    										src="/static/imghw/default1.png" class="lazy"  data-src="https://img.php.cn/upload/article/000/887/227/170444932683164.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="Simple JavaScript Tutorial: How to Get HTTP Status Code" />
    								</a>
    								<a href="http://m.miracleart.cn/faq/642543.html" title="Simple JavaScript Tutorial: How to Get HTTP Status Code" class="phphistorical_Version2_mids_title">Simple JavaScript Tutorial: How to Get HTTP Status Code</a>
    								<span id="377j5v51b"    class="Articlelist_txts_time">Jan 05, 2024 pm	 06:08 PM</span>
    								<p class="Articlelist_txts_p">JavaScript tutorial: How to get HTTP status code, specific code examples are required. Preface: In web development, data interaction with the server is often involved. When communicating with the server, we often need to obtain the returned HTTP status code to determine whether the operation is successful, and perform corresponding processing based on different status codes. This article will teach you how to use JavaScript to obtain HTTP status codes and provide some practical code examples. Using XMLHttpRequest</p>
    							</div>
    														<div   id="377j5v51b"   class="phphistorical_Version2_mids">
    								<a href="http://m.miracleart.cn/faq/630681.html" title="How to use insertBefore in javascript" class="phphistorical_Version2_mids_img">
    									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    										src="/static/imghw/default1.png" class="lazy"  data-src="?x-oss-process=image/resize,m_fill,h_207,w_330" alt="How to use insertBefore in javascript" />
    								</a>
    								<a href="http://m.miracleart.cn/faq/630681.html" title="How to use insertBefore in javascript" class="phphistorical_Version2_mids_title">How to use insertBefore in javascript</a>
    								<span id="377j5v51b"    class="Articlelist_txts_time">Nov 24, 2023 am	 11:56 AM</span>
    								<p class="Articlelist_txts_p">Usage: In JavaScript, the insertBefore() method is used to insert a new node in the DOM tree. This method requires two parameters: the new node to be inserted and the reference node (that is, the node where the new node will be inserted).</p>
    							</div>
    														<div   id="377j5v51b"   class="phphistorical_Version2_mids">
    								<a href="http://m.miracleart.cn/faq/642230.html" title="How to get HTTP status code in JavaScript the easy way" class="phphistorical_Version2_mids_img">
    									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    										src="/static/imghw/default1.png" class="lazy"  data-src="https://img.php.cn/upload/article/000/000/164/170443303819225.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="How to get HTTP status code in JavaScript the easy way" />
    								</a>
    								<a href="http://m.miracleart.cn/faq/642230.html" title="How to get HTTP status code in JavaScript the easy way" class="phphistorical_Version2_mids_title">How to get HTTP status code in JavaScript the easy way</a>
    								<span id="377j5v51b"    class="Articlelist_txts_time">Jan 05, 2024 pm	 01:37 PM</span>
    								<p class="Articlelist_txts_p">Introduction to the method of obtaining HTTP status code in JavaScript: In front-end development, we often need to deal with the interaction with the back-end interface, and HTTP status code is a very important part of it. Understanding and obtaining HTTP status codes helps us better handle the data returned by the interface. This article will introduce how to use JavaScript to obtain HTTP status codes and provide specific code examples. 1. What is HTTP status code? HTTP status code means that when the browser initiates a request to the server, the service</p>
    							</div>
    													</div>
    
    													<a href="http://m.miracleart.cn/web-designer.html" class="phpgenera_Details_mainL4_botton">
    								<span>See all articles</span>
    								<img src="/static/imghw/down_right.png" alt="" />
    							</a>
    											</div>
    				</div>
    					</div>
    	</main>
    	<footer>
        <div   id="377j5v51b"   class="footer">
            <div   id="377j5v51b"   class="footertop">
                <img src="/static/imghw/logo.png" alt="">
                <p>Public welfare online PHP training,Help PHP learners grow quickly!</p>
            </div>
            <div   id="377j5v51b"   class="footermid">
                <a href="http://m.miracleart.cn/about/us.html">About us</a>
                <a href="http://m.miracleart.cn/about/disclaimer.html">Disclaimer</a>
                <a href="http://m.miracleart.cn/update/article_0_1.html">Sitemap</a>
            </div>
            <div   id="377j5v51b"   class="footerbottom">
                <p>
                    ? php.cn All rights reserved
                </p>
            </div>
        </div>
    </footer>
    
    <input type="hidden" id="verifycode" value="/captcha.html">
    
    
    
    
    		<link rel='stylesheet' id='_main-css' href='/static/css/viewer.min.css?2' type='text/css' media='all' />
    	
    	
    	
    	
    	
    
    	
    	
    
    
    
    
    
    
    <footer>
    <div class="friendship-link">
    <p>感谢您访问我们的网站,您可能还对以下资源感兴趣:</p>
    <a href="http://m.miracleart.cn/" title="国产av日韩一区二区三区精品">国产av日韩一区二区三区精品</a>
    
    <div class="friend-links">
    
    
    </div>
    </div>
    
    </footer>
    
    
    <script>
    (function(){
        var bp = document.createElement('script');
        var curProtocol = window.location.protocol.split(':')[0];
        if (curProtocol === 'https') {
            bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
        }
        else {
            bp.src = 'http://push.zhanzhang.baidu.com/push.js';
        }
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(bp, s);
    })();
    </script>
    </body><div id="w0qg6" class="pl_css_ganrao" style="display: none;"><em id="w0qg6"><dfn id="w0qg6"><code id="w0qg6"></code></dfn></em><s id="w0qg6"></s><input id="w0qg6"><acronym id="w0qg6"><cite id="w0qg6"></cite></acronym></input><fieldset id="w0qg6"></fieldset><li id="w0qg6"></li><center id="w0qg6"><pre id="w0qg6"><small id="w0qg6"></small></pre></center><strike id="w0qg6"></strike><nav id="w0qg6"></nav><blockquote id="w0qg6"></blockquote><dl id="w0qg6"></dl><fieldset id="w0qg6"></fieldset><code id="w0qg6"><wbr id="w0qg6"><button id="w0qg6"></button></wbr></code><em id="w0qg6"><strike id="w0qg6"></strike></em><nav id="w0qg6"><tfoot id="w0qg6"><tbody id="w0qg6"></tbody></tfoot></nav><cite id="w0qg6"><delect id="w0qg6"><object id="w0qg6"></object></delect></cite><tr id="w0qg6"><td id="w0qg6"><table id="w0qg6"></table></td></tr><small id="w0qg6"></small><pre id="w0qg6"></pre><tbody id="w0qg6"></tbody><menu id="w0qg6"></menu><pre id="w0qg6"><bdo id="w0qg6"><tr id="w0qg6"></tr></bdo></pre><tbody id="w0qg6"></tbody><strike id="w0qg6"></strike><optgroup id="w0qg6"></optgroup><ul id="w0qg6"></ul><del id="w0qg6"></del><small id="w0qg6"><samp id="w0qg6"><em id="w0qg6"></em></samp></small><small id="w0qg6"></small><bdo id="w0qg6"></bdo><strong id="w0qg6"><abbr id="w0qg6"><center id="w0qg6"></center></abbr></strong><s id="w0qg6"><option id="w0qg6"><tbody id="w0qg6"></tbody></option></s><ul id="w0qg6"><center id="w0qg6"><tr id="w0qg6"></tr></center></ul><nav id="w0qg6"></nav><center id="w0qg6"><strong id="w0qg6"><li id="w0qg6"></li></strong></center><code id="w0qg6"></code><blockquote id="w0qg6"></blockquote><optgroup id="w0qg6"></optgroup><cite id="w0qg6"></cite><abbr id="w0qg6"></abbr><sup id="w0qg6"></sup><tr id="w0qg6"></tr><menu id="w0qg6"></menu><sup id="w0qg6"></sup><object id="w0qg6"><dfn id="w0qg6"><strong id="w0qg6"></strong></dfn></object><pre id="w0qg6"></pre><tbody id="w0qg6"><blockquote id="w0qg6"><rt id="w0qg6"></rt></blockquote></tbody><button id="w0qg6"><dl id="w0qg6"><blockquote id="w0qg6"></blockquote></dl></button><tfoot id="w0qg6"></tfoot><nav id="w0qg6"><tfoot id="w0qg6"></tfoot></nav><wbr id="w0qg6"><button id="w0qg6"><dl id="w0qg6"></dl></button></wbr><abbr id="w0qg6"></abbr><optgroup id="w0qg6"></optgroup><tfoot id="w0qg6"></tfoot><delect id="w0qg6"><nav id="w0qg6"><option id="w0qg6"></option></nav></delect><small id="w0qg6"><dd id="w0qg6"><object id="w0qg6"></object></dd></small><kbd id="w0qg6"><nav id="w0qg6"><center id="w0qg6"></center></nav></kbd><source id="w0qg6"></source><center id="w0qg6"></center><input id="w0qg6"></input><rt id="w0qg6"></rt><em id="w0qg6"></em><tr id="w0qg6"></tr><source id="w0qg6"></source><strike id="w0qg6"></strike><source id="w0qg6"><pre id="w0qg6"><dfn id="w0qg6"></dfn></pre></source><dl id="w0qg6"></dl><sup id="w0qg6"></sup><tbody id="w0qg6"></tbody><input id="w0qg6"><acronym id="w0qg6"><cite id="w0qg6"></cite></acronym></input><th id="w0qg6"><small id="w0qg6"><samp id="w0qg6"></samp></small></th><source id="w0qg6"><optgroup id="w0qg6"><button id="w0qg6"></button></optgroup></source><pre id="w0qg6"></pre><strong id="w0qg6"><del id="w0qg6"><rt id="w0qg6"></rt></del></strong><optgroup id="w0qg6"></optgroup><small id="w0qg6"></small><nav id="w0qg6"></nav><input id="w0qg6"></input><delect id="w0qg6"><s id="w0qg6"><table id="w0qg6"></table></s></delect><input id="w0qg6"></input><strike id="w0qg6"></strike><noframes id="w0qg6"></noframes><tr id="w0qg6"></tr><input id="w0qg6"><em id="w0qg6"><dfn id="w0qg6"></dfn></em></input><small id="w0qg6"></small><center id="w0qg6"></center><blockquote id="w0qg6"></blockquote><dl id="w0qg6"><small id="w0qg6"><samp id="w0qg6"></samp></small></dl><nav id="w0qg6"></nav><dd id="w0qg6"></dd><code id="w0qg6"></code><cite id="w0qg6"><kbd id="w0qg6"><td id="w0qg6"></td></kbd></cite><strike id="w0qg6"></strike><pre id="w0qg6"></pre><dl id="w0qg6"><small id="w0qg6"><samp id="w0qg6"></samp></small></dl><pre id="w0qg6"><fieldset id="w0qg6"><kbd id="w0qg6"></kbd></fieldset></pre><object id="w0qg6"></object><em id="w0qg6"><center id="w0qg6"><dl id="w0qg6"></dl></center></em><blockquote id="w0qg6"><source id="w0qg6"><noframes id="w0qg6"></noframes></source></blockquote><tfoot id="w0qg6"></tfoot><acronym id="w0qg6"><small id="w0qg6"><delect id="w0qg6"></delect></small></acronym></div>
    
    </html>