Re: js to php help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Nathan Rixham wrote:
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,

tedd


This 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

edit: (damn c+p)

..should be
<input type="hidden" value="" id="f_date_e" name="f_date_e" />

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux