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 3 of 3
  1. #1
    New Coder
    Join Date
    Jun 2012
    Posts
    43
    Thanks
    15
    Thanked 0 Times in 0 Posts

    protoculous.js and jquery-1.7.2.js.

    My webpage is using protoculous.js and jquery-1.7.2.js. When I load the page then I get weird errors which I am unable to understand:
    Errors are:

    Uncaught TypeError: Object [object Object] has no method 'attachEvent'
    observe
    (anonymous function)

    Uncaught TypeError: Object [object Object] has no method 'dispatchEvent'
    fire
    _methodized
    fireContentLoadedEvent
    g

    Please HELP!!!

  • #2
    Senior Coder xelawho's Avatar
    Join Date
    Nov 2010
    Posts
    3,020
    Thanks
    56
    Thanked 566 Times in 563 Posts
    I thought rule number one was not to use multiple frameworks?

    have you tried the jQuery noConflict()?

  • #3
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,930
    Thanks
    6
    Thanked 1,041 Times in 1,014 Posts
    noconflict should only be the very, very last resort if you have no influence on the potential presence of a framework. The main thing is always to use one framework only.


  •  

    Posting Permissions

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