I'm creating a mural, but I'd like to know how I can do that by clicking the Publish button, the user's message will appear automatically in the div below the form, without the need to refresh the page. Kind of like in Facebook posts. The registration to the database I know how to do, but jquery is not my strong.
<form method="post" class="form-control">
<div class="form-group">
<label for="mensagem">Qual sua ideia?</label>
<textarea name="Mensagem" class="form-control"></textarea>
</div>
<button type="submit" class="btn btn-primary">Publicar</button>
</form>
<div id="mostrarMensagens"></div>