1

カスタマイズが必要な SUP プロジェクトに数日間取り組んでいますが、エラーが発生しますScript Alert 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>');

(ここにコードへのリンクがあります。解釈されるようです:P http://img22.imageshack.us/img22/927/axq6.jpg )

私も次のようなもので試しました

var bottomOfFormElem = document.getElementById("bottomOfStart_ScreenForm");
bottomOfFormElem.innerHTML = "<p>&nbsp;</p>";

このエラーは、Windows CE 6.1 Intermec CK3 デバイスでのみ表示されますが、使用した他のデバイス (Android のみ) では問題なく動作します。

私に何ができるかについて何か提案はありますか?

4

1 に答える 1

0

jqueryに問題があるようです。お使いのブラウザは ie9 よりも古いですか? 問題が報告されている行番号を探して、同じことを返信できますか?

于 2013-07-18T12:06:04.980 に答える