Exists

Testing if JavaScript method Exists

When developing within a large web application it may be needed to check if a JavaScript function/object exists prior to being calling. The benefits to checking if the method exists are: No JavaScript errors are Generated. if needed you can dynamically load and initialize your method or object In most cases you won’t need to