Menu
If one click on “set” and then on “verify”, the global variable “variablename” should not be “undefined”. Works with any browser, but not with IE6. Is this a bug?
<html><head><title>test</title></head>
<body>
<form>
<input type=”button” value=”set” onclick=”variablename = ‘abc’;”>
<a href=”javascript:alert(typeof(variablename));”>verify</a>
</form>
</body></html>