2013-07-18 29 views
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)上它工作得很好。

你有什麼建議我能做些什麼?

+5

jquery可能不支持這樣一箇舊設備... – leppie

+0

有沒有另一種解決方案? – user2595314

+0

嘗試普通javascript –

回答

0

看起來像jQuery的一些問題。您的瀏覽器比ie9年齡大嗎?可以查找報告問題的行號,並用相同的方式回覆。

+0

是的,它是更舊的。 SUP不會調用瀏覽器窗口。它位於從SAP下載的容器中。 – user2595314

相關問題