title: disable/enable outside asp button control on datalist checkbox checked javascript?
body: <p>I have a datalist inside that I am using a checkbox, I have 1 asp button and 2 image buttton which is outside of datalist something like this</p>
  
  <pre><code> &lt;asp:DataList ID="dlst1" runat="server" RepeatDirection="Horizontal" OnItemDataBound="dlst1_ItemDataBound" CaptionAlign="Left"&gt;
   &lt;ItemTemplate&gt;
         &lt;asp:ImageButton ID="btnImage" runat="server" /&gt;
         &lt;asp:CheckBox ID="Chkbox" runat="server"  TextAlign="Right" /&gt;
    &lt;/ItemTemplate&gt;
  &lt;/asp:DataList&gt;
  
  &lt;asp:Button ID="Button1" runat="server" Enabled="false" Text="Delete" /&gt;
  &lt;asp:ImageButton ID="ibtnok" runat="server" Enabled="false" /&gt;
  </code></pre>
  
  <p>I want to enable the Button1 and ibtok when any one checkbox is checked and disable the Button1 and ibtnok when no checkbox is checked.</p>
  
  <p>someone plz help me how to do that with javascript?</p>