How to access Javascrit Variable value from PHP code...
There are 3 ways one ajax you can values without reloading. And another one is embeding javascript in phpecho "<script language='javascript'>";echo "alert('welcome');";echo "</script>";And also embeding php in javascript<script language="javascript">alert(<?php echo "welcome"; ?>);</script>