Debugging IE8 Javascript Replace innerHTML Runtime Error

前端 未结 10 999
执笔经年
执笔经年 2020-12-09 17:33
function DeleteData(ID)
{
 var ctrlId=ID.id;

 var divcontents=document.getElementById(ctrlId).innerHTML;
 var tabid=ctrlId.replace(/div/,\'tab\');
 var tabcontents=         


        
10条回答
  •  南方客
    南方客 (楼主)
    2020-12-09 17:38

    why it happend in IE...

    case scenario:

    Javascript unknown runtime error in IE while accessing Div inside Div to add ajax contents.

    solution:

    dont ever place nested divs in between the form tags to play with there contents .. :)

提交回复
热议问题