- - Code, Content, and Presentation
- ---- calling & defining functions using funcName() vs. window['funcName']()
sssweb - 3:59 pm on Jan 7, 2013 (gmt 0)
The only way it works with 'var $ = jQuery;' at the top of the page is if I wrap that statement and all of the functions in an anonymous function per Fotiman's [jsfiddle.net...]
But that brings me back to the original problem of having to define it using window.
Is that my only option?
Brought to you by WebmasterWorld: http://www.webmasterworld.com