In the password tutorial, a correct entry prints “Access granted!”.\r\rI am trying to get the if statment to geturl. I tryed the following code WITHOUT success:\r\rpassword = inputName\rif (password == “kirupa”) {\r getURL(www.mysite.com);;)\r} else {\r inputStatus = “Access denied!” ;\r}\r\r\rAny sugestions on what I am doing wrong?\rThanks!\rScott
Use “” inside the getURL.\r\rpom 0]
getURL("<a href=“http://www.mysite.com”);">www.mysite.com");</a>\r\rdid the trick!
Just a tidbit…\r\rI used ‘eq’ in place of the ‘==’ and it worked as well.