How to get text of html button.
i want to get the text and show in alert box.
<button id="btnstuUpdate" type="button" class="btncss2" onclick="UpdateRecordsStudenmobileNo(this);" style="width:150px">Update</button>
function UpdateRecordsStudenmobileNo()
{
// what we do
alert(this.val());
}