Hi Anton! I've also noticed this. Some JS in the backend stuff sets the $(id) to mean document.getElementById(id). I couldn't really see where this was needed, but it happens.
Regards from Vienna, Richard -----Ursprüngliche Nachricht----- Von: [email protected] [mailto:[email protected]] Im Auftrag von Anton Matheis Gesendet: Dienstag, 25. Jänner 2011 15:35 An: Magnolia User-List Betreff: [magnolia-user] init-theme.js, jQuery and the $ Hi list, i have a question regarding jquery. There is a jquery lib defined within magnolia. To access functionality of the included jquery lib, i can use something like "jQuery('#elementid')". When i exclude the init-theme.js, i can also use the $. E.g. $('#elementid'). It seems as if include-theme unsets the $. Is there a special reason why the $ is unset? Or is the typical use case to include your own jquery on top of the Magnolia one? Or to use "jQuery" as function name? Thanks, Anton ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ---------------------------------------------------------------- ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
