From the below code I need to pass the value of "data1" to php file using variable.
Js file:
document.getElementById('data1').innerHTML=e.point.name;
Html Code :
<p id="data1"></p>
From the above js and html file how can I pass the value of "data1" to php..