Quick Tip: BlogEngine + jQuery fix


February 20, 2009
If you're new to my website, why don't get my latest posts using RSS Feed or by Email.

another tip »

For BlogEngine users

I'm a big fan of jQuery, so it's certain I need to using jQuery in my blog. However, if you try to using jQuery with $(element), it won't work.That's the very basic jQuery and it's not work. You will start frustrated (Like I used to be) Yell.[more]

The reason is: BlogEngine also uses $ in their Javascript, so there are a conflict between those 2. However, jQuery development team did think about that. So here the solution:

var $j = jQuery.noConflict();

A simple line. So from now on, instead of using $(element), you could use $j(element) instead.

EnjoySmile.

  • Delicious
Under Category: Web Development
Article Tags: ,
March 16th, 2009

Some problem with AjaxControlToolkit? :(

Trackbacks
Leave a Reply