|
From: Mabel C. <mc...@ya...> - 2003-03-13 17:56:36
|
I read in an archived message that someone else had a problem with
htmlunit not recognizing external javascript files and that message was
dated 9/2002. I am using version 1.2 (3/10/2003), but I am having the
same problem.
When I reference an external javascript file within the <head> tag and
call a function using onLoad attribute, <body onLoad="someFunc();">, it
CAN recognize someFunc(). However, if I use
<body>
<script language="Javascript" type="text/javascript">
someFunc();
</script>
</body>
I get ScriptException: "someFunc()" is not defined.
Any ideas why and solutions?
thanks,
mabel
__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com
|