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' )
}



me
jamesmcm
Can
Kelmi
ysg
dannymo2
chorny
wallie
Hackdemian
impomatic
dannyboy
sundaramkumar
mattrmiller
Pio
i_kenneth
ASmith
ctiggerf
sehrgut
bertheymans
SCoon
There are currently no comments for this snippet.