cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Joseph <pjos...@gmail.com>
Subject bug with double-listbox?
Date Fri, 07 Nov 2008 01:05:34 GMT
Hi there,

The double-listbox works fine for me except if I have a script that 
executes on page load.

Hence, if I have a simple page, it works fine.

But if I have a JavaScript function say:

function myFunction() {
    alert ("loaded");
}

and if I call this function on page load either by using
window.onload=myFunction;

OR by
<body onLoad="javascript:scrollToPosition();">

then  the double-list box stops working.

It puts out this message:
Error: 'options.lenght' is null or not an object

Any ideas?

thx
Paul




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message