无法转换 JavaScript 参数 arg 0"nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS [英] Could not convert JavaScript argument arg 0" nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS

查看:13
本文介绍了无法转换 JavaScript 参数 arg 0"nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试制作这个 captcha jquery 插件去工作.执行某行代码,弹出错误.

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' });

我假设与 javascript 引用存在某种冲突,但无法确定是什么.

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"></script>

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js"></script>
<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>

推荐答案

根据 RaYell 的间接建议,问题是我在 ajax 响应中返回了错误的值.

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

这篇关于无法转换 JavaScript 参数 arg 0"nsresult: &quot;0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆