Bugs item #2892533, was opened at 2009-11-05 12:22
Message generated for change (Tracker Item Submitted) made by sethus
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=448266&aid=2892533&group_id=47038Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: Latest code in SVN
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Konstantin Neubauer (sethus)
Assigned to: Nobody/Anonymous (nobody)
Summary: onLoad funktion not executed
Initial Comment:
Hello,
I am searching for some solution on this tracker but didn't find any answers.
I wrote a simple Javascript function for writing some text on a Page. this funktion could do something else, it's just a sample. I execute this function by onLoad of Html Body.
It doesn't work in htmlunit.
here is a sample:
<html>
<head>
<title>Sin of Life square</title>
<script language="JavaScript">
<!--
var Sinoflife = 42;
function writesquare()
{
var i, x;
var Satzteil = "square of ";
document.close();
document.open("text/html");
for(i=1; i <= Sinoflife; ++i)
{
x = i * i;
document.write(Satzteil + i + " equals to " + x + "<br>");
}
}
// -->
</script>
</head>
<body onLoad="writesquare()">
</body>
</html>
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=448266&aid=2892533&group_id=47038------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.
http://p.sf.net/sfu/bobj-july_______________________________________________
HtmlUnit-develop mailing list
HtmlUnit-develop@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-develop