<script src="http://code.jquery.com/jquery-latest.min.js"></script>
<script>
$(document).on('click',"#showgruz",function(){
alert('работает');
$('#setgruz').show();
});
</script>
<button id="showgruz">showgruz</button>
<a id="setgruz" style="display:none">setgruz</a>