Czy mógłby mi ktoś napisać, czemu nie wyświetla się tekst ?
<div id="tekst"></div> <script> $(function(){ $('#forma').submit(function(){ $.ajax({ url: "db.php", type: "POST", success: function(){ $("di1v#tekst").html("wyslano").(function(){ $(this).fadeIn(1000); }); }, error: function(){ $("di1v#tekst").html("blad").(function(){ $(this).fadeIn(1000); }); } }); return false; }); }) </script>