You seem to be trying to mix PHP and JavaScript syntax in your AJAX request URL.
If you're trying to send val as a GET parameter to a PHP script, you're going to have to do something like this:
new Ajax.Request('Website.php?cat=' + escape(val),
....
and so on. Then, on the server side, you'll need to look for
$_GET['cat']
to get that value back.
Syntactic
2010-04-07 01:11:35