Category Archive for "JavaScript"

How to ensure your WordPress site’s security?

What is Security? Fundamentally, security is not about perfectly secure systems. Such a thing might well be impractical, or impossible to find and/or maintain. A secure server protects the privacy, integrity, and availability of the…

Like to share it
Read More

Learn how to enable JavaScript in the most popular web browsers.

Learn how to enable JavaScript in the most popular web browsers. [tabs] [tab title=”Internet Explorer”]Please complete the following instructions to activate and enable JavaScript in Internet Explorer. PC In the Tools drop-down menu, select Internet…

Like to share it
Read More

Capitalize the sentence in Javascript!

Capitalize the sentence in Javascript! <script type="text/javascript" language="javascript">// <![CDATA[ String.prototype.capitalize = function(){ return this.replace( /(^|s)([a-z])/g , function(m,p1,p2){ return p1+p2.toUpperCase(); } ); }; function capWords() { var inputString = document.form1.instring; // The input text field var…

Like to share it
Read More

Show password in normal text of password box on check.

How we can show the password box’s text in normal text if the box is password control box in HTML using JavaScript. Copy and paste the following code & you can type the password into…

Like to share it
Read More

How to fix blogger from redirecting to country specific domains?

Google, as everybody knows, redirects Blogger’s blog to country-specific domains. For instance, if you open shashidharkumar.blogspot.com in your browser, you might be redirected to shashidharkumar.blogspot.in if you are located in India or to shashidharkumar.blogspot.com.au if…

Like to share it
Read More

Add HTML Control with JavaScript

This chapter explains how to display add HTML control dynamically through JavaScript. Click for Demo : Add HTML Control Download the script : Add HTML Control Shashi Dhar KumarShashi Dhar Kumar Experience in Web/software development…

Like to share it
Read More

HTML & JavaScript Loader

In this program just change the source of  iframe and your loading.gif will show upto that time when page will not upload finally. For Demo Click Here Download Script Click Here Shashi Dhar KumarShashi Dhar…

Like to share it
Read More

JavaScript – Agree Before Entry -Source Code

Save this code as external JavaScript file named: agree.js var agree=0; // 0 = ‘no’, 1 = ‘yes’ function agree2() { if (!document.getElementById) return false; agree=1; document.getElementById(‘box’).style.background=’#fff000′; if (agree) { document.getElementById(‘enterName’).style.visibility = ‘visible’; } document.enableform.box.focus();…

Like to share it
Read More

Free-Code-JavaScript

JavaScript – Increament function Script JavaScript – E-mail Validation Script Shashi Dhar KumarShashi Dhar Kumar Experience in Web/software development including client server and implementation using PHP, XML, MySQL and SQL Server. Experience of working on…

Like to share it
Read More

JavaScript – Increament function

<HTML><HEAD><TITLE>ABC</TITLE> <SCRIPT LANGUAGE=”JAVASCRIPT” TYPE=”TEXT/JAVASCRIPT”> <!– a = 23; function ad() { a = (++a); alert(a); } //–> </script> </HEAD> <BODY> <a href=”javascript:ad();” mce_href=”javascript:ad();” title=”Add more” name=”add”> Add More Records </a> </BODY></HTML> Shashi Dhar KumarShashi Dhar…

Like to share it
Read More