我已經工作了的,需要一些定製一個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> </p>";
我只在Windows CE 6.1 Intermec CK3設備上收到此錯誤,但在我用過的任何其他設備(僅限Android)上它工作得很好。
你有什麼建議我能做些什麼?
jquery可能不支持這樣一箇舊設備... – leppie
有沒有另一種解決方案? – user2595314
嘗試普通javascript –