Re: js to php help

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

 



At 3:23 PM +0000 2/19/08, Nathan Rixham wrote:
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?

This is really a JS issue but.. check the snippet of your code below:

Getting variables from js to php is at least half a php issue.

looks to me like if your input should be

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

Nathan:

Yeah, I was hoping for something like that as well. But, your suggestion doesn't work -- see here:

http://www.webbytedd.com/a/calendar1/index.php

I tried all sorts of different combinations, but couldn't get anything to work.

I believe that I'm close, but I thought someone here might have experience doing this.

I just don't want to start all over with DOM scripting and figure out how to do it that way.


Cheers,

tedd

--
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
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