views:

3197

answers:

7

I am trying to make this captcha jquery plugin to work. The a certain line of code is executed, the error pops up.

This is the line of code that causes the error :

$(".ajax-fc-" + rand).draggable({ containment: '#ajax-fc-content' });

What I am assuming is that there is some kind of conflict with the javascript reference, but can't determain what.

These are the referenes that I am using

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"&gt;&lt;/script&gt;

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js"&gt;&lt;/script&gt;
<script src="js/ui.core.js"></script>
<script src="js/ui.draggable.js"></script>
<script src="js/ui.droppable.js"></script>
<script src="js/effects.core.js"></script>
<script src="js/effects.slide.js"></script>
A: 

I have the same issue, and I'm using Google's AJAX lib like you - it might have something to do with that.

Avram
+1  A: 

As per RaYell's indirect suggestion the problem was i was returning the wrong value in the ajax response.

Drahcir
A: 

I just also have this issue when i use jquey and protaype.Is some one fix this problem?

bossy0709
A: 

I am using this method to make jQuery work with jquey and prototype+scriptaculous

http://api.jquery.com/jQuery.noConflict/

lordspace
A: 

Add Dojo to the list. I'm Having the same problem with the Dojo Toolkit framework. (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.10) Gecko/20100915 Ubuntu/9.10 (karmic) Firefox/3.6.10 GTB7.1)

Chrome and Opera work with my code just fine, yet my new update to Linux FireFox gave the same error --> nsresult: ”0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS). I to am doing some positioning of hidden elements as one of the links above describes.

Dwight Vietzke
A: 

Hi All,

Ooops. My bad. I found the problem. Apparently my new install of FF was picker about a mis-assigned object function. Chrome, Opera and previous FF had no problem with the the essentially "null" function, while the new version did. They just ignored it, so I never knew is wasn't right in the first place.

Dwight Vietzke