combo box

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Lakshmi Narayanan

    combo box

    hi all,
    i am doing a project where i need to display
    1. the list of drives in the system in the first combo box.
    2. after the user chooses the drive i need to show all the dirs in
    that drive in the second combo box.
    3. once the dir is choosen list all the filse under the folder in the
    third combo box.
    i need to do this using javascript.can any one help me out.
    thanking all in advance.
  • Randy Webb

    #2
    Re: combo box

    Lakshmi Narayanan wrote:
    [color=blue]
    > hi all,
    > i am doing a project where i need to display
    > 1. the list of drives in the system in the first combo box.[/color]

    Sorry, you have no business (or access) to that information, its outside
    the security environment for a webpage.
    [color=blue]
    > 2. after the user chooses the drive i need to show all the dirs in
    > that drive in the second combo box.[/color]

    See above.
    [color=blue]
    > 3. once the dir is choosen list all the filse under the folder in the
    > third combo box.[/color]

    See above.
    [color=blue]
    > i need to do this using javascript.can any one help me out.
    > thanking all in advance.[/color]

    You could do it using an ActiveX object (IE only), providing the user
    authorized it to be run.


    --
    Randy
    Chance Favors The Prepared Mind
    comp.lang.javas cript FAQ - http://jibbering.com/faq/

    Comment

    • crazyguy

      #3
      Re: combo box

      hi,
      see the thing is that my application is not webbased,it is only for the
      local machine. i have no server or http request.

      its only a normal html page with script which is just like displaying
      system information to the user.

      thanks in advance.
      lakshmi narayanan.


      *** Sent via Developersdex http://www.developersdex.com ***
      Don't just participate in USENET...get rewarded for it!

      Comment

      Working...