Passing value JavaScript variable to PHP.
Example
JavaScript
Var ffffd=\'aaaa\'
PHP
<
In JS:
$.post('ajax.php',{'ffffdd' : ffffdd}, function(data){ });
In PHP
if(isset($_POST['ffffdd'])) $ffffdd = $_POST['ffffdd'];