function vote(voicer) { $.ajax({ url: "index.php?id=ajax&action=vote", type: "GET", data: {voice: voicer, article: <?=$article ?>}, success: function(html) { $.("#voting").html(html); } }); return false; };