Posts Tagged "html"

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

Expanding the Mailto tag

Expanding the Mailto: tag Introduction The Mailto tag is used as a way to include an email address on a web page which can be clicked on thus opening the visitors default email client with…

Like to share it
Read More

How to validate ‘target=_blank’ in anchor tag with W3C Compatibility

While the apply ‘_blank’ value to a native link’s attribute ‘target’ that will give you not validated for W3C, the solution is to handle the click on the link and open it in a new…

Like to share it
Read More

Default page name for technology used in Internet

Following are the detault pages for website of technology based : 1) HTML Based default pages : a) index.htm b) index.html c) default.htm 2) PHP Based default pages : a) index.php 3) SHTML Based default…

Like to share it
Read More

HTML Version 5

Worries over internet privacy have spurred lawsuits, conspiracy theories and consumer anxiety as marketers and others invent new ways to track computer users on the web. But the alarmists have not seen anything yet. In…

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

Convert xml to html

This chapter explains how to display XML data as HTML. In the example below, we loop through an XML file (test.xml), and display each element as an HTML table row: <script type=”text/javascript”> var xmlDoc; if…

Like to share it
Read More