Today, I will teach you how to write JavaScript and HTML so that when visitors come to your site click on the image button, then the image button will change to a new image button. When the visitor clicks on the other image button, the original image button will reappear.
Here’s the code for creating an onclick image swap effect, just follow it step by step:
Today, I will share with you about the very basic and general information for the differences between http:// and https://. HTTP stands for HyperText Transport Protocol, which is for information to be passed back and forth between web servers and clients.
Difference Between http and https
As in known, HTTPS session normally runs on TCP port 443, but HTTP which runs on port 80.
Every webmaster also know that table cells can be spanned more than one column or row. The attribute of ROWSPAN is used to make cell span multiple rows. If let say ROWSPAN=”3″ it will only span a column vertically across three rows.
While working with strings, most probably we will need to find a length of string, count of charachers and etc. In JavaScript we can make use of the string related function as the [variable].length
So, here we go!! I decided to share some really basic source code. Here’s the example shows in an alert dialog box with the length of the string “My Name is David”
var mystring = “My Name is David”; alert( mystring.length );