6
How to leave the field at 2 divs
about the same height as #result4
that I gave a load
?
<script>
$(document).ready(function() {
$( ".buscascript<?php echo "$row[id]"; ?>" ).click(function() {
$( "#fechargame" ).show();
$( "#result4" ).show();
$( "#result5" ).show();
$( "#result4" ).load( "busca.php?game=<?php echo "$row[id]"; ?>" );
var altura = $("#result4").height();
$( "#publicidade1a" ).height(altura);
$( "#publicidade" ).height(altura);
});
});
</script>
now it worked, vlw!!!
– Alan PS
good ... !!!
– user6026
Fulvio, the cool thing is to explain the why of the solution (in this case, the
function()
ofload
)... The guide [Answer] is worth a reading ;)– brasofilo
@brasofilo is already explained ...
– user6026