<input onclick="more_posts($(this))" id="show_more" count_show="36" count_add="36" type="button" value="Показать еще" />
<script>
function more_posts(t) {
var count_show = parseInt(t.attr('count_show'));
var count_add = $(this).attr('count_add');
t.val('Подождите...');
alert(count_show);
}
</script>