Posted by Markus Ernst on 04/04/06 15:08
m65@vivodinet.gr schrieb:
> I have a calendar formed with javascript.
> This line <script>this.form.orderdatefrom_Year_ID.value</script> returns
> the year-textbox.But in Javascript. How can I pass the javascript
> variable to php so to further use it?
You can't, as PHP is done at the moment the output is sent to the
browser where the javascript will be executed.
After submitting the form you can refer to
$_POST['orderdatefrom_Year_ID'] resp. $_GET['orderdatefrom_Year_ID'].
--
Markus
Navigation:
[Reply to this message]
|