Hello,
I have one javascript named george.js
At the bottom of javascript i have that code
_Code:var previousOnload = window.onload; window.onload = function () { alert('into george javascript'); if(previousOnload) previousOnload(); dogeorgemainfunction(); }
I have another javascript named stella.js
At the bottom of javascript i have that code
_Code:var previousOnload = window.onload; window.onload = function () { alert('into stella javascript'); if(previousOnload) previousOnload(); dostellamainfunction(); }
At my page i have add:
_Code:<script type="text/javascript" src="clientscript/george.js"></script> <script type="text/javascript" src="clientscript/stella.js"></script>
I aslo have
_Code:<body onload="$onload">
in the same page
But when the page open run only the one of the two onload........
What i have to do to run the onloads from the two javacripts???
(I check only first and work perfect, then i check only second and work perfect, when i have together go only to one javascript onload)
waiting your help
Thanks In Advance
SorentoUltimate



Reply With Quote

Bookmarks