Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Senior Coder o0O0o.o0O0o's Avatar
    Join Date
    Jan 2008
    Location
    C:\Windows\System32
    Posts
    1,018
    Thanks
    19
    Thanked 9 Times in 9 Posts

    Question regarding jquery conflict mode

    I have read that if i have to use jquery with other libraries then i have to use jquery in no conflict mode.


    I understand that and and it works. i use

    Code:
    $j = jquery.noconflict()
    so that $ of jquery does not mix with $ of other libraries


    Now my question is that i use any jquery plugin , and i include that JS file

    Code:
    e,g plugin.jquery.js

    I am not sure whether i am correct or not

    i think that plugin is coded by using $ sign not the $j
    and i think it will conflict with other libraries.

    So it means i have to chnage the plugin code as well or there is no need to change plugin


    Can someone correct me if i am wrong
    Last edited by o0O0o.o0O0o; 09-30-2009 at 12:57 AM.
    Please de-reputate me
    © 0o0o0o0

    Its better to rule in Hell then to serve in Heaven

  • #2
    Regular Coder seco's Avatar
    Join Date
    Nov 2008
    Location
    Oregon
    Posts
    687
    Thanks
    6
    Thanked 79 Times in 77 Posts
    why would you use any other libraries other than jquery?

  • #3
    Senior Coder o0O0o.o0O0o's Avatar
    Join Date
    Jan 2008
    Location
    C:\Windows\System32
    Posts
    1,018
    Thanks
    19
    Thanked 9 Times in 9 Posts
    i am using joomla and it uses mootools so i have to use no conflict mode
    Please de-reputate me
    © 0o0o0o0

    Its better to rule in Hell then to serve in Heaven

  • #4
    Regular Coder seco's Avatar
    Join Date
    Nov 2008
    Location
    Oregon
    Posts
    687
    Thanks
    6
    Thanked 79 Times in 77 Posts
    i havent been able to sucessfully have no conflict between jquery and mootools/prototype. I always end up having problems with those.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •