quote:
Originally posted by Matty
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;
}
What? No, when you use return 'abc' you return the string 'abc'. return abc; would attempt to return the function pointer.