PostNuke: A Flexible Open Source Content Management System
home | forum | international support | contact us

Support Forum

Start ::  Developers Corner ::  Module Development ::  Drop down menu

Moderated by: Support Team

Bottom
Drop down menu

  • Link to this postingPosted: 24.04.2008, 15:19
    Profile
    DJUS
    rank:
    pnFreshman pnFreshman
    registered:
     March 2008
    Status:
    offline
    last visit:
    29.04.08
    Posts:
    15
    Hello everybody!

    I have a multidimensional array genrerated by a MySQL request, i can show on the screen in HTML the multidimension array in a dynamique table as the following: The keys in each row and a drop down menu containig every item of the key in the column (I hope i am clear). I have a refresh button and i want to update my drop down menu in function of the item chosen by a click on the refresh button.

    Do any one have any idea i wille be grateful!
  • Link to this postingPosted: 24.04.2008, 16:54
    Profile Homepage
    espaan
    rank:
    pnHelper pnHelper
    registered:
     August 2003
    Status:
    offline
    last visit:
    09.05.08
    Posts:
    237
    To me it's not really clear yet. You have:
    Code
    key1 - val1_1 - val1_2 - val1_3
    key2 - val2_1 - val2_2 - val2_3
    key3 - val3_1 ...

    You want to display
    Code
    key1 - ddmenu containing val1_1, val1_2, val1_3
    key2 - ddmenu containing val2_1, val2_2 ...

    The ddmenu could be just a HTML form select pulldown than or am I missing something?
  • Link to this postingPosted: 29.04.2008, 16:07
    Profile
    DJUS
    rank:
    pnFreshman pnFreshman
    registered:
     March 2008
    Status:
    offline
    last visit:
    29.04.08
    Posts:
    15
    Thank you espaan for your help but i no longer use drop down menu, because it was not the best solution for my problem.

    Greetings

Start ::  Developers Corner ::  Module Development ::  Drop down menu

Main Menu

Extensions Database

Documentation

Development

Login





 


 Log in Problems?
 New User? Sign Up!

Donate to PostNuke