Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- onload = function start() { $(".row").load("/load/stream/dead_flip");
- console.log("teste");
- $("#follow").click(function(e) {
- e.preventDefault();
- data_string = "channel=" + dead_flip;
- $.ajax({
- type: "POST",
- url: "/follow/",
- data: data_string,
- dataType: "text",
- cache: false,
- success: function (data) {
- alert(data_string);
- //document.getElementById("follow").innerHTML = "<div class=\"follow\" id=\"unfollow\"><div class=\"btn\">Following This Channel</div></div>";
- }
- });
- return false;
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement