Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > Question in javascript

Reply
Thread Tools

Question in javascript

 
 
jacob
Guest
Posts: n/a
 
      01-07-2005
Hello all
How i can get current username from win2000/xp
in javascript
best regards
--
Jacob-R



 
Reply With Quote
 
 
 
 
Fred Oz
Guest
Posts: n/a
 
      01-08-2005
jacob wrote:
> Hello all
> How i can get current username from win2000/xp
> in javascript
> best regards


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

You can't do this programmatically in JavaScript.

--
Fred
 
Reply With Quote
 
 
 
 
Randy Webb
Guest
Posts: n/a
 
      01-08-2005
jacob wrote:

> Hello all
> How i can get current username from win2000/xp
> in javascript


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

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about question mark in JavaScript Jimolo Javascript 2 01-20-2008 05:02 PM
Generated JavaScript vs. Manually Created JavaScript: Which one comes first? Nathan Sokalski ASP .Net 4 11-08-2007 07:24 AM
JavaScript or not JavaScript Mark Rae ASP .Net 36 09-09-2006 01:12 PM
href="javascript:func()" vs href="#" onclick="javascript:func()" CRON HTML 24 06-20-2006 08:05 PM
Javascript -> Applet: variable reset after method call from javascript?! mcdeveloper Java 1 06-13-2006 08:34 AM



Advertisments