
What if you already use some library that occupies the $ variable and you want to continue using it and jQuery together. What happens in this case if you load jQuery is that it will override the variable to jQuery object and you won’t be able to use your existing library. Possible solutions of this are:
- Reassign jQuery from $ to something like $jq.
- Include jQuery first and after it the other library. After this instead of typing $ you will have to type jQuery. Example: jQuery(‘#mydivId’);
- You can also use the jQuery.noConflict() method to revert the $ to the value it had before jQuery was included in the page.
Read more…
Recently we’ve spent several days trying to decide which UI JavaScript framework/library to use. Our company is developing a media website with funky design which has a very complex admin panel with lots of crammed together pages. We were going to rewrite the admin CP’s UI from scratch because of it’s slowness and were searching for a solution that would require as small as possible effort to build a functional/comfortable admin panel and require only minor UI customizations. Also the library we use should have made our life easier when doing stuff on the main funky site. Well we couldn’t find a solution which will satisfy both this requirements instead we decided to use ExtJS for the admin CP and JQuery for the main site. The reasons behind this choice are listed bellow:
Read more…