ajax ไม่ทำงานเมื่อใช้ IE

เรียนถามอ.Goragod ครับ
ผมเอาโค้ดที่ได้จากอาจารย์
ไปทำกรทู้ล่าสุดแบบ autorefresh
ใช้ไฟฟ็อกซ์ ปกติครับ แต่ถ้าเป็นไออี
ก็จะฟ้อง ว่าผิด บรรทัดที่ 21 22 23
ตามรูปที่แนบมาครับ

โดยโค้ดที่ผิดจะเป็นสามแถวอย่างนี้
ทุกฟังค์ชั่นเลย

var obj = document.getElementById("sticky_post")    // id ตัวอย่าง
                    obj.style.backgroundImage  = "url()" //delete image for loading   
                    obj.style.height = '100%' //adjust height  to fit content
                    obj.innerHTML = req.responseText 

บรรทัดที่ขึ้นด้วย obj นี่แหละครับ ไม่ผ่านเลย

โครมก็ผ่านครับ มีไออีนี่แหละไม่ผ่าน ไม่เข้าใจเลยครับ
ขอความกรุณาอาจารย์ช่วยชี้แนะด้วยครับ ขอบคุณครับ

18 เม.ย. 2552 3 3,889

ขอดูส่วนที่เป็น Html ที่มี ID sticky_post หน่อยครับ หรือเอาส่วน Html มาให้ดูหน่อย เพื่อบอกอาการได้ ครับ
#1

ด้านบนแสดง css


echo'       
<style type="text/css">
#recent_post, #sticky_post, #update_request_song, #UserOnline  {
  background-image:url(', $boardurl,'/images/pleasewait.gif);
  background-position:center;
  background-repeat:no-repeat;
  height:100px;
  width:100%;
  display:block;
}
</style>


ตัวอย่าง เรียก ajax

function sticky_post()
{
    global $context, $settings, $options, $txt, $scripturl, $modSettings, $ID_MEMBER, $boardurl, $user_profile, $is_ie;
    $id = $context['user']['id'];
    
    echo '<br/>
    <div  class="tborder" ', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? 'style="width: 100%;"' : '', '>
        <div class="catbg" style="background-image:url(Themes/dilbermc/images/lightblue/catbg_green.png);padding: 6px; vertical-align: middle; text-align: center;">
            <img src="' . $boardurl.'/Themes/dilbermc/images/icons/quick_sticky.gif" align="top" alt="" border="0" />&nbsp;&nbsp;<font color="red">
                กระทู้ควรอ่าน</font>
        </div>
        <br />
            <table border="0" width="100%" cellspacing="1" cellpadding="4" class="bordercolor" >';
                //recent topics by pongsak
                if (intval($user_profile[$id]['section_recent_post']) == 1){
                echo '
                <tr>
                    <td colspan="2">
                        <div id="sticky_post"> </div>
                    </td>
                </tr>';
    }    
    echo '</table>
    </div>';
}

ขอบคุณครับ
#2

รู้ที่ผิดแล้วครับ
คือ ประกาศสคริป ก่อนประกาศแท็ก Div
ก็เลยฟ้อง object required
#3
ความคิดเห็น
ไฟล์อัปโหลด ชนิด jpg, jpeg ขนาดไฟล์ไม่เกิน 1024
^