How can i pass javascript variable to php form.
say javascript variable desc is having value of 'product';
I want to pass this variable to another php script through
document.form.action="xyz.com?getprod=desc";
but instead of getting value of desc, it takes desc as string and instead of displaying value 'product' it displays as 'desc' only.
Can i pass javascript variable to php.