(求助,一个礼拜也没解决的问题)JavaScrip中控制ASP.NET 控件
我现在在页面里加了个“Repeater”控件
现在怎么在JavaScrip得到“Repeater”控件的选择行。
在“Repeater”控件的 <ItemTemplate> 里面加了个 <input id= "Button_3 " type= "button " value= "编辑 " /> 按钮。我想点击该按钮触发一个JavaScrip方法得到该行的信息。在JavaScrip里面用AJAX处理。请大家帮帮忙,原程序如下:
</HeaderTemplate>
<ItemTemplate>
<tr>
<td colspan= "5 " style= "height: 21px ">
<b> <a href= "Default.aspx?smallid= <%#Eval( "vCurriculum_Id ") %> " style= "border-color:Blue " >
<%# DataBinder.Eval(Container.DataItem, "vTitle ")%> </b>
</a> </td>
<td style= "background-color:#BAB9BA "> <input id= "Button_3 " style= "left: 2px; position: relative; top: 3px " type= "button "
value= "编辑 " /> </td>
<td style= "background-color:#BAB9BA "> <font color= "red "> 删除 </font> </td>
</tr>
<tr>
<td colspan= "7 ">
<a href= "Default.aspx?smallid= <%#Eval( "vCurriculum_Id ") %> " >
<%# DataBinder.Eval(Container.DataItem, "tContent ")%>
</a> </td>
</tr>
<tr>
<td style= "width: 100px ">
</td>
<td style= "width: 100px ">
</td>
<td style= "width: 100px ">
</td>
<td style= "width: 100px ">
</td>
<td style= "width: 100px ">
发布时间: <a> <%# DataBinder.Eval(Container.DataItem, "dTime ")%> </a> </td>
<td style= "width: 100px ">
阅读( <%# DataBinder.Eval(Container.DataItem, "iClickNumber ")%> )次 </td>
<td style= "width: 6