Hello all, I have a variable in javascript and I want to use it in php can anyone help me out here?
This is the javascript and variableToSend is the one I like to use in php.
Code:<script type="text/javascript">
$('div.bekijkitem').click(function() {
var text = $(this).text();
var variableToSend = text;
$.post('meebekijken.php', {variable: variableToSend});
alert (variableToSend);
});
</script>

