ok so I have this repeater:\[code\] <asp:Repeater runat="server" ID="rep" > <ItemTemplate> <tr> <td> <div id="resultDiv"> click me </div> </td> </tr> </ItemTemplate> </asp:Repeater>\[/code\]and i have this jquery ajax call:\[code\] $(document).ready(function () { $("#resultDiv").click(function () { $.ajax({ type: "POST", url: "Page.aspx/GetDate", data: "{}", contentType: "application/json; charset=utf-8", dataType: "json", success: function (msg) { // Replace the div's content with the page method's return. $("#resultDiv").text(msg.d); } }); }); });\[/code\]the problem is that this only works for the first div inside the repeater. If i click any other divs, the click event isn't being fired. I know this is because they all have the same id, being "resultDiv".I am now looking for a way of giving them unique ID's, which is something I can do like this: (inside the repeater itemtemplate)\[code\] <td> <div id="resultDiv_<%#Eval("divId") %>"> click me </div> \[/code\]This gives all the divs inside the repeater a unique ID, but this way the ajax click event doesnt fire anymore because \[code\] $("#resultDiv").click(function () {\[/code\]\[code\]resultDiv\[/code\] is now something like \[code\]resultDiv_1\[/code\] or \[code\]resultDiv_2\[/code\].so im looking for something to bind a click event to each div inside the repeater. I tried doing it like this in the ajax call:\[code\]$("#<%#Eval("divId") %>").click(function () \[/code\]but this doesn't work and gives me all kinds of errors.Is there any way i can do this ? Please not that I do not want to use updatepanels.