javascript:function() is not working properly in FF5, IE8
<script type="text/javascript" src="http://www.foo.coo/js/foo.js"></script>
<a href="javascript:foo1.foo2.foo3();">blah</a>

I have code like this in a aspx page. When clicking the link, it can fire up the foo3() correctly in Chrome, however, in FF5/IE8, it will give `foo1 is not defined`. But when checking foo1.foo2.foo3() in firebug debug console, the function does exist. What could be wrong with that?
javascript:function() is not working properly in FF5, IE8
===

<script type="text/javascript" src="http://www.foo.coo/js/foo.js"></script>
<a href="javascript:foo1.foo2.foo3();">blah</a>

I have code like this in a aspx page. When clicking the link, it can fire up the foo3() correctly in Chrome, however, in FF5/IE8, it will give `foo1 is not defined`. But when checking foo1.foo2.foo3() in firebug debug console, the function does exist. What could be wrong with that?