Reply to Re: populate one menu from another

Your name:

Reply:


Posted by Chris on 07/11/06 20:32

Hi All,

I did find several Javascript-based sets of code, but knew I need something
where the JS controls the element but had no 'static' variables or arrays .
One of them has Javascript refresh the page, and another keeps the
visibility off of secondary listboxes until the primary one is selected. I
think I will try this one as the <options> can be populated with PHP, then
the Javascript/CSS controls when they appear. I did this with a cascading
menu - where the JS/CSS only controlled the element (byID) and it worked
fine. If this works out, I will post the final code here.

Thanks,
Christina

"Jerry Stuckle" <jstucklex@attglobal.net> wrote in message
news:MpKdnXn-qof3kC7ZnZ2dnUVZ_rqdnZ2d@comcast.com...
> Gary L. Burnore wrote:
>> On 10 Jul 2006 16:13:03 -0700, "flamer die.spam@hotmail.com"
>> <die.spam@hotmail.com> top posted like a moron and wrote:
>>
>>
>>>Mosf of the examples you have seen are probably using javascript, with
>>>php you realise the page needs to reload when a cat is chosen? PHP
>>>can't dynamically update the menu without loading the page again, you
>>>would the user to choose a catergory, then have a submit button to post
>>>the var or a link like page/index.php?cat1=$cat1 and so forth. Probably
>>>recommend javascript for this though.
>>
>>
>> The php code can generate the javascript code. Best of both "hello
>> worlds".
>>
>>
>>>Flamer.
>
> And you can generate javascript code without php, also.
>
> You completely missed the point.
>
>
> --
> ==================
> Remove the "x" from my email address
> Jerry Stuckle
> JDS Computer Training Corp.
> jstucklex@attglobal.net
> ==================

[Back to original 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

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