Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var linkwjpg = $("#blurpost").attr("src").split("/").pop().split(".", 1);
- $("h1").text(linkwjpg);
- var myInterval = setInterval(function () {
- $.ajax({
- url: 'time.php',
- type: 'post',
- data: {'user':'<?php echo $_SESSION["login"] ?>','topost':'momo_1'},
- success: function() {
- }
- });
- }, 1000);
- var linkwjpg = $("#blurpost").attr("src").split("/").pop().split(".", 1);
- $("h1").text(linkwjpg);
- var myInterval = setInterval(function () {
- $.ajax({
- url: 'time.php',
- type: 'post',
- data: {'user':'<?php echo $_SESSION["login"] ?>','topost':linkwjpg},
- success: function() {
- }
- });
- }, 1000);
- topost%5B%5D=momo_1 // topost[]=momo_1 (https://jsfiddle.net/5k6jtew2/)
- var linkwjpg = $("#blurpost").attr("src").split("/").pop().split(".", 1)[0];
- data: {'user':'<?php echo $_SESSION["login"] ?>','topost':linkwjpg[0]}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement