Page 1 of 1

system.osName

Posted: January 30th, 2012, 2:09 am
by Alan Eddie
alert(system.osName);
is giving me undefined on Win 7 x64 ?


Can't figure it out... I know it's something ultra simple that I have overlooked.
I am getting the build number etc from the other object properties.

Can anybody tell me the obvious?

Re: system.osName

Posted: January 30th, 2012, 4:41 am
by Alan Eddie
$.writeln(system.osName);

is giving me.........


<![CDATA[
]]>Result: undefined


hmmmm.

Re: system.osName

Posted: January 30th, 2012, 9:06 am
by Alan Eddie
Ok working now...

$.os.indexOf("Windows") != -1

is working instead.