I have a Nested Gridview having textbox & Button column. How to display value of textbox in alert when Button Click by using jquer
textbox & Button
textbox
Button Click
In your web.config add clientIDMode like this:
web.config
clientIDMode
Then:
$(function() { $("#Button1").click(function(e) { e.preventDefault(); alert($("#TextBox1").val()); }); });