is it possible to store a variable through javascript so that I can read it in php using $_REQUEST[\'variable_name\'].
for eg. let\'s say i have
$adcat
Does this make any sense? Is this possible?
Yes, you need to bind it to the request string.
If you're calling foobar.php, change the onsubmit behavior of the form and make it:
foobar.php
'foobar.php?category_id=' + your_javascript_category_id_value