2
I created a div where there are 2 links, when the page is loaded, both links are hidden and when I click "search" they should appear. The detail, problem is that they appear and disappear! Why this may be happening?
Follows the code:
<input type="submit" name="buscar" id="busca" value="Buscar">
$(document).ready (function(){
$("#gerar").hide();
$("#busca").click(function(){
$("#gerar").show();
});
});
html: <input type="Submit" name="search" id="search" value="Search">
– GustavoSevero
the
submit
is inside aform
? it is possible that after the eventclick
is making the request for the form.– Lucio Rubens