ALERTS AND MESSAGES - JavaScript Codes

Servlet: Form Interaction

Description This code will provide a interaction between form and servlet Source Code //This is a form in HTML// <HTML> <HEAD><TITLE>Greetings Form</TITLE></HEAD> < ...

0 Comments. 968 views since Sep 5, 2008

Welcome User

Description This code asks the user his/her name and the colour of their choice and displays a welcome message of that colour. Source Code <SCRIPT LANGUAGE="JavaScript"> { var ...

0 Comments. 896 views since Sep 9, 2008

Displays user Time spent on website

Description Displays user Time spent on website Source Code <HEAD> <SCRIPT LANGUAGE="JavaScript"> <!-- Begin startday = new Date(); clockStart = startday.getTime(); ...

1 Comments. 888 views since Sep 9, 2008

Message Trailer

Description This code displays a message which moves with mouse movement. Source Code <style> .trailerstyle { position: absolute; visibility: visible; top: -50px; font-size: 12 ...

0 Comments. 838 views since Sep 9, 2008

Java Script: Alert Window

Description This program shows the message:"welcome to my site" in an alert window. Source Code <html> <head> <script language="javascript" type="text/javascript& ...

0 Comments. 801 views since Sep 5, 2008