I used the below code:
var name = $(this).attr('id'); -------- 1
document.getElementById('<%=txtShareMessage.ClientID %>').value = name; --------2
when i used this code i got value assigned from the 1st statement to the name variable, but when i tried to bind the value to a textbox in the 2nd statement, it is not getting bound : because the textbox is in a repeator. Please tell me how can i resolve this problem?