<script> $('.singleSave').html(<?php echo json_encode(baseHTML::submitButton('', 'btn btn-primary', 'data-placement="left"')); ?>); </script>