<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
src='http://code.jquery.com/jquery-1.8.3.js'></script>
<script type='text/javascript'>
$(window).load(function(){
$(function(){
$buttonObject = $("#buttonobj");
$buttonObject.prop('disabled', true);
console.log($buttonObject.val());
});
});
</script>
</head>
<body>
<input type="button" id="buttonobj" class="some class"
value=" Button Name" />
</body>
</html>