ASPForums.Net RSS Feedhttp://www.aspforums.net/Handlers/RSS.ashxLatest additions to the content that appears on ASPForums.Net(c) 2019 www.aspforums.com. All rights reserved.Display online offline connection status using JavaScript<p>Hi&nbsp;<a class="username" rel="arie.keren">arie.keren,</a></p> <p>Check this example.&nbsp;The following code executes on every two second and checks if connection is there&nbsp;or not.</p> <p><strong><span style="text-decoration: underline;">HTML</span></strong></p> <div class="demo_block"> <pre class="brush: html">&lt;script type=&#34;text/javascript&#34;&gt; window.onload = function () { setInterval(function () { if (!navigator.onLine) { alert(&#34;You are not connected to Internet, ensure you&#39;re not in airplane mode. \n\nYour internet signal may be week. \n\nPlease connect to internet and try again.&#34;); } }, 2000); } &lt;/script&gt;</pre> </div> <p><a class="demo button orange btn btn-red">Demo</a></p>https://www.aspforums.net:443/Threads/991013/Display-online-offline-connection-status-using-JavaScript/https://www.aspforums.net:443/Threads/991013/Display-online-offline-connection-status-using-JavaScript/Thu, 29 Nov 2018 02:17:47 GMT