L337Man's HTML

See stackoverflow.com/questions/15840700/hiding-showing-html-forms-on-button-press-using-javascript/

HTML

<button class="btn btn-primary">Preview</button> <br />


@foreach($blog as $b)
  <div class="col-md-12 toggleButtonsFeatured">
    some text here....
  </div>
@endforeach


<script>
    $( "button" ).click(function() {
        $(".toggleButtonsFeatured").toggle(); 
    });
</script>