Advertisement
menixator

Batoto.net - follow manga

Jan 31st, 2014
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
jQuery 0.47 KB | None | 0 0
  1. var like=jQuery(".__like.right")
  2. jQuery.ajax({
  3.     url: ipb.vars['base_url'],
  4.     type: 'POST',
  5.     data: {
  6.         "app": "core",
  7.         "module": "ajax",
  8.         "section": "like",
  9.         "do": "save",
  10.         "secure_key": ipb.vars['secure_hash'],
  11.         "f_app": like.attr("data-app"),
  12.         "f_area": like.attr("data-area"),
  13.         "f_relid": like.attr("data-relid")
  14.     }
  15. }).done(function(data){
  16.     console.log(data)
  17. }).fail(function(error) {
  18.     console.log(error);
  19. }).always(function() {
  20.     console.log("complete");
  21. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement