Sunday, July 15, 2007

Find the greater out of two numbers

I have worked out a very very simple but useful javascript. That is for comparing two numbers. Ok,we can sure just see the two numbers and tell which one is greater,but this is going to be here just for (you can say fun,or .. ..) newbie programmers in javascript who need to understand how these scripts work.

I'll insert the active script here so that its readily usable as a DEMO and those who want the the script code may leave a comment for that with their e-mail address and I'll email you the code (FREE)

Here it is

Click this button and follow the prompts to see how it works

You may need to enable active content on Internet Explorer(it'll show up in a bar just on the top of this window's workspace that the content from this site is blocked) to be able to use this function.
If this doesn't work for Firefox users,then please open this page in Internet Explorer.