Program code – Hit counter
A hit counter tells you about the number of visits on a particular page of your website. We build this hit counter with the help of cookies. We create cookie and update it every time the page is loaded.
To develop from within
A hit counter tells you about the number of visits on a particular page of your website. We build this hit counter with the help of cookies. We create cookie and update it every time the page is loaded.
This code runs as javascript and this code can also be used as VBScript. For that, you need to change line 4 to <script language=” VBScript”> and the HTML file should be opened on old Internet Explorer
This program written in simple HTML (Hyper Text Markup Language) and with using Javascript.It’s work on any browsers. Onload event The onload event occurs when an object has been loaded . onload is most often used within the <body> element to execute a script once a web page has completely loaded all content (including images, … Read more
This code is written as normal HTML (HyperText Markup Language). It works on any browser. It doesn’t need javascript or VBScript to show list options in output.
This code is written in javascript. For that, you need to declare <script language=”javascript”> and the HTML file to be opened on your browser. The code uses various built-in “Date & Time” functions in javascript. It gets the current time and date from your operating system and shows it on an HTML page.
This code is written in javascript. For that, you need to set script language <script language=”javascript”> and the HTML file cloud opened on your browser. The output will check the entered mail is email is valid or not. If the email is not valid it shows a message box “Invalid Email id please enter correct … Read more
Sorting numbers. We use built-in functions of javascript to sort the values ascending in an array. Here, we create an array called “numbers” with values. we use .sort() function to sort it. Before .sort() you should be adding the array variable. In this case, This will sort the items in ascending order. To sort descending,
This is a simple calculator program to perform addition subtraction multiplication division between two numbers. This code runs as javascript and this code can also be used as VBScript. For that, you need to change line 6 to <script language=”VBScript”> and the HTML file should be opened on old Internet Explorer.