For who is used to integrate his PHP
scripts with Javascript probably would miss an useful function from the this language: Isset().
The below example should be really useful in this case:
function isdefined( variable)
{
return (typeof(window[variable]) == "undefined") ? false : true;
}
|
Last Updated ( venerd́, 22 febbraio 2008 )
|