Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #107.41K
~159 People Reached
Favorite Forums
Favorite Tags
Member Avatar for Arumugams

Hi, i have written a code for getting the environmental variable.I am getting the error as wscript undefined. [code] <html> <head> <title>Test</title> <script language="javascript"> function getEnvironment() { var shell = WScript.CreateObject("WScript.Shell"); var env = shell.Environment("USER"); alert(env("temp")); } </script> </head> <body> <button onclick="javascript:getEnvironment();">Click</button> </body> </html> [/code]

Member Avatar for hljmdjrs
0
159