Question in javascript

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

    Question in javascript

    Hello all
    How i can get current username from win2000/xp
    in javascript
    best regards
    --
    Jacob-R



  • Randy Webb

    #2
    Re: Question in javascript

    jacob wrote:
    [color=blue]
    > Hello all
    > How i can get current username from win2000/xp
    > in javascript[/color]

    username = prompt('What is your username?');

    --
    Randy
    comp.lang.javas cript FAQ - http://jibbering.com/faq

    Comment

    • Fred Oz

      #3
      Re: Question in javascript

      jacob wrote:[color=blue]
      > Hello all
      > How i can get current username from win2000/xp
      > in javascript
      > best regards[/color]

      Put a text input in the page and ask the user to enter their
      current user name.

      You can't do this programmaticall y in JavaScript.

      --
      Fred

      Comment

      Working...