jQuery allows you to have multiple onLoad calls.
$(window).ready(function(){
// do stuff here
});
Or for the whole document
$(document).ready(function(){
// do stuff here
});
$(document).ready(function(){
// do more stuff here
});
-----Original Message-----
From: Ian Skinner [mailto:[EMAIL PROTECTED]
Sent: Friday, September 28, 2007 8:17 AM
To: CF-Talk
Subject: Add a javascript handler to the window.onload event
What is a good way to added a javascript event handler to the windows.onload
event that already has one or more handlers associated with it, without
impacting them?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289730
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4