Check if a function Exists using javascript
7
check if a function exists in your code using javascript before calling it.
if ( window.functionName )
{
functionName()
}
else
{
alert( 'function not found' )
}



mcheung63
cicero
mycodeofshailendra
nostromo
KennethCC
me
jamesmcm
Can
Kelmi
ysg
dannyboy
sundaramkumar
mattrmiller
Pio
i_kenneth
ASmith
ctiggerf
sehrgut
bertheymans
SCoon
There are currently no comments for this snippet.