Hi,
How to convert a javascript variable to php variable. Could anybody help me to do this.
How to convert a javascript variable to php variable. Could anybody help me to do this.
<?php
if(IsSet($_POST['select'])){
echo $_POST['select'];
}
?>
<form action="phpcode.php" method="post" name="Calender1">
<a onmouseover="window.status='Date Picker';return true;" onmouseout="window.status='';return true;" href="javascript:show_calendar('Calender1.select')">
<img height=18 src="calendar.gif" width=25 border=0></a>
<input class="textBox" type="text" readonly name="select" id="select" size="7">
<input type="submit" id="BtnSubmit" name="BtnSubmit" value="search" onclick= "senddate()">
</form>
Comment