Tech Tip: Using jQuery with 4DAF
PRODUCT: 4D Web 2.0 Pack | VERSION: 11.5 | PLATFORM: Mac & Win
Published On: April 22, 2010
The jQuery library complements the 4D Ajax Framework with simplifed DOM selectors, event handlers, and UI animations.
To make sure that the jQuery shorthand $ symbol doesn't conflict with the 4DAF $ selector, call the "noConflict" jQuery function. You can call this after linking the jQuery library but before loading 4DAF libraries.
Here is sample Javascript code that shows how to call the "noConflict" function:
|