I don't understand very well how I get value of with JavaScript or JQuery?
I have this code:
<asp:Button ID="btnIdButton" runat="server" Text="Button"/>
In this case I need get value inside the button with id "btnIdButton". I tested some possibilites:
$("#btnIdButton").val()
$('input[id*=btnIdButton]').value()
$("#btnIdButton").text()
document.getElementById("#btnIdButton")
But it did not work.

idwhen the button is rendered on the client - you need to get theClientIDproperty and use that to select the button. 2) The button has novaluefor you to retrieve, you need to usetext()ClientIdModetostaticat the control, page, or application levels.