Feb
09
2006
1

Cook an Egg with a Cell Phone

Is it possible? Try it out:

http://www.wymsey.co.uk/wymchron/cooking.htm

Written by Tom in: Random |
Feb
03
2006
--

javascript lcase

The javascript equivalent to vbscript’s lcase() function is .toLowerCase(). Here’s an example:

var myVar;<br />
myVar = 'HELLO';
myVar = myVar.toLowerCase();
alert(myVar);

The output is, of course, “hello”.

As you could guess, the equivalent to vbscript’s ucase() function is .toUpperCase(). Pretty self explanatory. Here’s a link to other javascript string functions.

Written by Tom in: Javascript |

Powered by WordPress | Aeros Theme | TheBuckmaker.com WordPress Themes