Re: PHP / Javascript menu list population




bigfella wrote:
> Hello Folks,
>
> I would like a web page to have 2 menu lists
>
> The contents of the second menu list depending on the selection made in
> the first.
>
> The contents of the second would be populated from a database.
>
> I am fairly new to programming using PHP, Javascript and MySQL but I am
> sure what I am asking has been done before. Could someone please give
> me some pointers or direct me to a tutorial.
>
> Cheers
> Darren

Or better yet, do a menu using lists and css. This requires no
javascript, just some css tinkering. Check out Listamatic2 at
maxdesign. I think any solution in there will be easily customizable
to your situation. Then all you have worry about is the backend PHP.

.



Relevant Pages

  • Re: Securing Link/URL Display
    ... Build a web part that emits a JavaScript array of the currently logged-in ... SharePoint University http://www.sharepointu.com ... > What about the lists themselves? ...
    (microsoft.public.sharepoint.windowsservices)
  • RE: Pre populate NewForm.aspx fields with values
    ... Ok I managed to prepopulate using javascript. ... the new form based on other fields in other lists and I'm having issuse ... And I even was able to display a preselected value of a connected lookup ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: Difference lists
    ... Petronius wrote on 08 aug 2007 in comp.lang.javascript: ... in Javascript? ... Google helps you to find an explanation (try e.g. "difference lists ... 'Haec vulnera pro libertate publica excepi; ...
    (comp.lang.javascript)
  • Re: with only one
    ... hidden variables carefully set to get the desired action depending on ... There are several lists, all with one or more options..I need to select ONE item from ALL the lists and go with that. ... The javascript associated with the onchangeor onclick() stuff does indeed patch in a value to a hidden variable anyway. ...
    (comp.lang.javascript)
  • Re: Can a simple a==b hang in and endless loop?
    ... comparing only two 'values'. ... Coming from C or Javascript one would ... over all elements of the lists. ... 'is' does the C, Javascript job when comparing lists, but I mean it fails to give fully predictable results when applied to elements of lists in case there exist duplicate objects with same 'value' i.e. e.g. there are two different objects storing the integer value 1, what I mean can happen when there is enough other code between the Python code lines assigning the integer value 1 to a list element or any other identifier. ...
    (comp.lang.python)