I have a code like this.
<form id="mainForm" method="post" action="">
<div id="info">6.897882999999999, 79.92221100000006</div>
<input id="submit" type="submit" name="submit" value="submit"/>
</form>
I want to assign div tag value (6.897882999999999, 79.92221100000006) to php variable using div id . Is it possible. if yes, how to do this. thanks