Busted Mug

A blog that documents solutions to the most frustrating problems that occur during development in technologies such as Java, XML, AJAX, SQL, CSS and others that make me want to throw my coffee mug against the cube wall.

Tuesday, December 05, 2006

JavaScript undefined Property

JavaScript undefined Property - when you need to see if a variable has been defined you can just check if it is equal to the undefined keyword I.E. if (t1==undefined). This is good to use when you have optional parameters to a function.

0 Comments:

Post a Comment

<< Home