S
Swifty
If I have the name of an object in a variable, how would I go about
getting the value of that object?
Example:
varname = 'navigator.appName';
How would I get the value of navigator.appName ?
See http://swiftys.org.uk/jsvars.html for my first, faltering attempt.
The idea is to replace the multiple "document.write" lines with the
simpler "show()" calls.
getting the value of that object?
Example:
varname = 'navigator.appName';
How would I get the value of navigator.appName ?
See http://swiftys.org.uk/jsvars.html for my first, faltering attempt.
The idea is to replace the multiple "document.write" lines with the
simpler "show()" calls.