jQuery Val Style
<input type="button" style="width:50px" id="wave_id" value="Wave" data-action="button">
Relieved Rook
<input type="button" style="width:50px" id="wave_id" value="Wave" data-action="button">
if (data.status == 'Waved') {
$("#wave" + data.id).val("Unwave").css('width', '50px');
} else if (data.status == 'Unwaved') {
$("#wave" + data.id).val("Wave").css('width', '60px');
}