Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- </head>
- <script type="text/javascript">
- $("#dieBox" ).click(function()
- {
- $.post( "datei.php", {
- parameter1: "Inhalt Hier", parameter2: "Inhalt Da" },
- function(data)
- {
- //$("#dieBox" ).fadeOut(350).html(data).fadeIn(350);
- $('#dieBox').html(data);
- }); // in der php Datei: $_POST['parameter1'];
- });
- </script>
- </head>
- <body>
- <div id="dieBox" onlick="post();">Das hier ist ein Test.</div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement