<script> $(document).ready(function(){ $('block_1').html ('<input type="button" value="Rrrr" onClick="alert (\'Rrrr\')">'); }); </script>