Re: js to php help
| From: | Nathan Rixham | Date: | Tue, 19 Feb 2008 15:21:50 +0000 |
| Subject: | Re: js to php help | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-269624@lists.php.net to get a copy of this message | ||
tedd wrote:
Hi gang: I have a date picker in javascript working, but I need to take the date selections to php. Here's the link and code: http://www.webbytedd.com/a/calendar/index.php How can I get what is selected in javascript to POST? Thanks in advance for any suggestions. Cheers, teddThis is really a JS issue but.. check the snippet of your code below:
Calendar.setup({
inputField : "f_date_e", // id of the input field
});
<input type="hidden" value="f_trigger_e" name="show_e" >
looks to me like if your input should be
<input type="hidden" value="" id="date_e" name="date" />
Regards
Cool & the Gang