Avoiding Conflicts with Other Libraries
Sat Nov 15, 2014 8:09 pm
The jQuery library and virtually all of its plugins are contained within the jQuery namespace. As a general rule, global objects are stored inside the jQuery namespace as well, so you shouldn't get a clash between jQuery and any other library (like prototype.js, MooTools, or YUI).
That said, there is one caveat: by default, jQuery uses $ as a shortcut for jQuery. Thus, if you are using another JavaScript library that uses the $ variable, you can run into conflicts with jQuery. In order to avoid these conflicts, you need to put jQuery in no-conflict mode immediately after it is loaded onto the page and before you attempt to use jQuery in your page.
From: http://learn.jquery.com/using-jquery-core/avoid-conflicts-other-libraries/
That said, there is one caveat: by default, jQuery uses $ as a shortcut for jQuery. Thus, if you are using another JavaScript library that uses the $ variable, you can run into conflicts with jQuery. In order to avoid these conflicts, you need to put jQuery in no-conflict mode immediately after it is loaded onto the page and before you attempt to use jQuery in your page.
From: http://learn.jquery.com/using-jquery-core/avoid-conflicts-other-libraries/
- SarkZKalieModerator
- Points : 8416
Gender :
Re: Avoiding Conflicts with Other Libraries
Sat Nov 15, 2014 8:27 pm
Admin wrote:The jQuery library and virtually all of its plugins are contained within the jQuery namespace. As a general rule, global objects are stored inside the jQuery namespace as well, so you shouldn't get a clash between jQuery and any other library (like prototype.js, MooTools, or YUI).
That said, there is one caveat: by default, jQuery uses $ as a shortcut for jQuery. Thus, if you are using another JavaScript library that uses the $ variable, you can run into conflicts with jQuery. In order to avoid these conflicts, you need to put jQuery in no-conflict mode immediately after it is loaded onto the page and before you attempt to use jQuery in your page.
From: http://learn.jquery.com/using-jquery-core/avoid-conflicts-other-libraries/
Good job! Give this man a cookie
Re: Avoiding Conflicts with Other Libraries
Tue Dec 16, 2014 9:54 pm
OMG, again?
Hey take it
Hey take it
- Code:
http://www.4shared.com/zip/7VJ4LNdRce/XperiFirm_31__by_IaguCool_.html
- Code:
http://www.mediafire.com/download/d1l74fpy2el232v/XperiFirm_3.1_(by_IaguCool).zip
Permissions in this forum:
You cannot reply to topics in this forum
|
|