当前位置: 代码迷 >> ASP.NET >> 为什么js的onload事件不能触发?马上给分,该怎么解决
  详细解决方案

为什么js的onload事件不能触发?马上给分,该怎么解决

热度:9168   发布时间:2013-02-26 00:00:00.0
为什么js的onload事件不能触发?马上给分
<asp:DataList   runat= "server "   Id= "dlCategories "     BorderWidth= "0 "   Width   = "100% "   GridLines= "Both "   Bordercolor= "White "   OnItemDataBound= "dlCategories_ItemDataBound "   BorderStyle= "None "   >
                                <ItemTemplate>
                                        <table   align= "center "   border= "0 "   cellpadding= "0 "   cellspacing= "0 "   width= "130 ">
                                                <tr>
                                                        <td   background= "../images/left_01.jpg "   style= "height:   26px ">
                                                                <table   align= "center "   border= "0 "   cellpadding= "0 "   cellspacing= "0 "   width= "98% ">
                                                                        <tr>
                                                                                <td   width= "20 "   style= "height:   29px ">
                                                                                        <img   border= "0 "   height= "29 "     onload= "javascript:Getid(this) "   src= "../images/plus.gif "   width= "20 "/> </td>
                                                                                <td   style= "height:   29px;   text-align:   center ">
                                                                                        <table   border= "0 "   cellpadding= "0 "   cellspacing= "0 "   width= "100% ">
  相关解决方案