Javascript confirm without code in code behind
<p>I have a page with dynamically added imagebuttons, and i want them to send a confirm when you click them(for deletion).</p>

<p>Since they are dynamic i cant code anything in a .click event.</p>

<p>Hows the best way to do this? check if true or false and then send it to a delete function in code behind with the control as parameter? or any other way?</p>

<p>Thanks</p>
