I\'m trying to use variable in AJAX call in jquery but it is not working. move variable contains different values. Please check the following code:
var $move
To post the value of $move variable, do this:
$.ajax({ type: "POST", url: "somephp.php", data: {move: $move} });