[thelist] does JavaScript have an equivalent to IsDefined()?

Sam-I-Am sam at sam-i-am.com
Mon Sep 22 15:25:50 CDT 2003


Sarah wrote:
> More ASP/JavaScript woes :) Is there a JavaScript equivalent to the 
> ColdFusion IsDefined() function? 

try checking the value of
	typeof Request.QueryString('id');
if it's undefined, it should give you a string 'undefined'.

Sam



More information about the thelist mailing list