I have a text box control within a Grid Control. I would like to get the clientID of the textBox using javascript with something like "<%= txtBox.ClientID %>". But I get an error message saying that txtBox does not exist in the current context. The textbox is programmatically created.
Could you let me know how to get the clientID of the textBox.
Thanks