HTML
<p id="a" name="a"></p>
Javascript
document.getElementById("a").innerHTML=price;
If price is a variable how do I make a php variable that is = to the result that is placed in the HTML of id "a" i?
$price = $_POST['a'];
when echoed this variable comes up blank, and yes I do have a form set up that is handled by a PHP page.