show("show")
is not working in firefox. This same code works in chrome.
What would be wrong?
$('#conteudo').hide();
<?php if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) { ?>
$(document).ready(function(){
event.preventDefault();
$("#form").hide("slow");
$("#conteudo").show("slow");
});
<?php } ?>
$('#mostrar').click(function(event){
event.preventDefault();
$("#form").show("show");
$("#conteudo").hide("show");
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script><aclass="btn btn-success" id="mostrar"><i class="fa fa-bar-chart-o"></i> Gerar outro</a>
<div class="form-actions clearfix" id="form">
<form action="relatorioGeralDetalhado.php" method="post" name="form1" id="form1" class="form-inline" role="form">
<label class="inline">
<input class="form-control" type="text" required name="date-range-picker" id="id-date-range-picker-1" placeholder="Selecione a data" data-date-format="dd-mm-yyyy" />
</label>
<button type="submit" id="button" name="button" class="btn btn-success btn-sm gerar"><i class="icon-save bigger-110"></i> Gerar</button>
<input type="hidden" name="MM_insert" value="form1" />
</form>
</div>
<table class="table table-hover" id="conteudo">
tabela aqui.
</table>
What would be this error?