You are here: Re: Javascript « All PHP « IT news, forums, messages
Re: Javascript

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация