Passing value JavaScript variable to PHP.
Example
JavaScript
Var ffffd=\'aaaa\'
PHP
<
One way you can do that is to put it in the cookie:
var ffffd = 'aaaa'; document.cookie = "ffffd="+ffffd; // the ffffd in the "" is the name of the cookie
$ffffd = $_COOKIE['ffffd']; if (ffffd == "aaa") { do something... }