I have JScript method that is :
function init() {
var userid = System.Environment.getEnvironmentVariable("USERNAME");
setUserName(userid);
}
When I debug it , at first line of the init fuction, I'll get "javascript Microsoft JScript runtime error: 'System' is undefined".
I'd be thankful if some one let me know how can I solve it.
Thank you Naseem