How to pass the value of a textbox in a datagrid to javascript
<p>I have a textbox inside my datagrid whose id need to be passed to javascript.The id of my datagrid is Datagrid1 and that of textbox is txtItem.All these are inside a contentplaceholder.Now i have passed the id of textbox as ct100_ContentPlaceholder1_Datagrid1_txtItem.It shows an error in my javascript as "Object reference not set to an instance of an object".How can i pass the id of this textbox which is inside a datagrid to javascript.</p>
