jQuery and other libraries

2

I am having this issue with jQuery and have no idea how to solve it .... can anyone help or provide some assistance!?

[Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIDOMXPathEvaluator.evaluate]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: http://example.com/wp-content/plugins/IMM-Glossary/JavaScripts/prototype.js :: anonymous :: line 1081" data: no] Source: http://example.com/wp-content/plugins/IMM-Glossary/JavaScripts/prototype.js

Thanks

Edit: Thanks for the response :) Problem is that I read the http://docs.jquery.com/Using_jQuery_with_Other_Libraries - and i use "jQuery" now ? So not sure why its occurring?

P.S - About code - I don't even use my own code. I just use this plugin and jquery - and it throws error ?

jquery
conflict
asked on Stack Overflow Apr 26, 2009 by (unknown user) • edited Mar 23, 2019 by Shiladitya

3 Answers

3
  1. Your error points to a prototype script, not jQuery.
  2. You haven't posted any code.
  3. Google search.
answered on Stack Overflow Apr 26, 2009 by bdl • edited Nov 29, 2013 by Code Lღver
0

First, from the error message, it seems the problem is with the Prototype js library instead on the jQuery library.

Second, the form of the error code (0x80070057) indicates that it's a problem with a COM component.

I'm guessing that you passed an jQuery selector to Prototype -- both use $() -- and prototype doesn't know how to evaluate it. (Prototype passes it to the nsIDOMXPathEvaluator component -- I'm gonna guess that is the "Netscape Xpath Evaluater"-- which balks at the bad XPath format)

answered on Stack Overflow Apr 26, 2009 by James Curran • edited Apr 26, 2009 by James Curran
0

Try to use $.noConflict() - Using jQuery with Other Libraries

answered on Stack Overflow Apr 26, 2009 by IAdapter • edited Nov 29, 2013 by Code Lღver

User contributions licensed under CC BY-SA 3.0