gorilla1
08-12-2002, 10:51 PM
If I want to pass an argument of 1 to a function like so,
a href="javascript:Doit(1);"
rather than the function getting called, the browser displays 'true', presumably evaluating the expression. I know how I can sidestep this, but why does it happen, and is there a proper way to pass an argument like this?
G
a href="javascript:Doit(1);"
rather than the function getting called, the browser displays 'true', presumably evaluating the expression. I know how I can sidestep this, but why does it happen, and is there a proper way to pass an argument like this?
G