Javascript 脚本警报错误:应为对象

Javascript 脚本警报错误:应为对象,javascript,jquery,Javascript,Jquery,我已经在一个需要一些定制的SUP项目上工作了几天,我得到了错误脚本警报error:Object expected 我介绍的代码是: $('#bottomOfStart_ScreenForm').before('<div style="display:none">'); $('#bottomOfStart_ScreenForm').before('<label style="display:none" for="Descarca_PK">Descarca</l

我已经在一个需要一些定制的SUP项目上工作了几天,我得到了错误
脚本警报error:Object expected

我介绍的代码是:

 $('#bottomOfStart_ScreenForm').before('<div style="display:none">');
   $('#bottomOfStart_ScreenForm').before('<label style="display:none" for="Descarca_PK">Descarca</label>');
   $('#bottomOfStart_ScreenForm').before('<input style="display:none" class="rightcheckbox" type="checkbox" name="Descarca_PK" id="Descarca_PK" sup_html_type="checkbox" sup_default_value="true" checked="yes" disabled="disabled"></input>');
   $('#bottomOfStart_ScreenForm').before('</div>');
$('bottomOfStart_ScreenForm')。在('')之前;
$('bottomOfStart'u ScreenForm')。在('Descarca')之前;
$('bottomOfStart_ScreenForm')。在('')之前;
$('bottomOfStart_ScreenForm')。在('')之前;
(这里有一个与代码的链接,它似乎得到了解释:p)

我甚至试过这样的东西

var bottomOfFormElem = document.getElementById("bottomOfStart_ScreenForm");
bottomOfFormElem.innerHTML = "<p>&nbsp;</p>";
var bottomOfFormElem=document.getElementById(“bottomOfStart\u屏幕表单”);
bottomOfFormElem.innerHTML=“

”;
我只在Windows CE 6.1 Intermec CK3设备上收到此错误,但在我使用过的任何其他设备(仅限Android)上都可以正常工作


您对我能做什么有什么建议吗?

看来jquery有问题。您的浏览器是否比ie9旧?您可以查找报告问题的行号,然后用相同的行号回复?

jquery在这样的旧设备上可能不受支持……是否有其他解决方案?是的,它比较旧。SUP不调用浏览器窗口。它位于从SAP下载的容器中。