quote:
Originally posted by Pai
Doesn't seem to work here |:
code:
function Test()
{
var ws = new ActiveXObject( "MSWinsock.Winsock.1" );
return 'abc';
}
doesn't return anything
code:
function Test()
{
//var ws = new ActiveXObject( "MSWinsock.Winsock.1" );
return 'abc';
}
returns 'abc'
Any ideas ? |:
Well when you use return "abc" your saying the return value of the function is "abc".
How about trying this :
code:
function Test(){
var ws = new ActiveXObject( "MSWinsock.Winsock.1" );
return ws.LocalIP;
}