1.8K Views
Articles on JavaScript Category
Updated On Sun, Nov 20, 2022 (2 years ago)
this is an example how to clear input value when click a clear button in search box . create a search form to demonstrate this task div #serchhide{ display:none; cursor:pointer } then create a search form <form action="" method="post"> <div class="input-container-search"> <input type="search" name=...
Updated On Fri, Nov 04, 2022 (2 years ago)
This is an example of code snippet how it display the content of you code (function () { if (typeof Prism === 'undefined' || typeof document === 'undefined') { return; } /** * Plugin name which is used as a class name for <pre> which is activating the plugin * * @type {string} */ var PLUGIN_NAME = 'line-numbers'; ...
Updated On Fri, Nov 04, 2022 (2 years ago)
<pre> <code class="language-javascript"> (function () { if (typeof Prism === 'undefined' || typeof document === 'undefined') { return; } function mapClassName(name) { var customClass = Prism.plugins.customClass; if (customClass) { return customClass.apply(name, 'none'); } else { return name; } } var PARTNER ...
Updated On Fri, Nov 04, 2022 (2 years ago)
<p>Protect fake email </p> <pre> <code class="language-javascript">function validate_email() { var request; try { request= new XMLHttpRequest(); } catch (tryMicrosoft) { try { request= new ActiveXObject("Msxml2.XMLHTTP"); } catch (otherMicrosoft) { try { request= new ActiveXObject("Microsoft.XMLHTTP"); } ca...
Updated On Fri, Nov 04, 2022 (2 years ago)
<p>Article description is here</p>
Updated On Fri, Nov 04, 2022 (2 years ago)
estimate paragraph readig time