I am having some issues when using document.observe("dom:loaded", function()
I have an asp page where I am trying to observe the click event on some
elements. I load the page and click on the elments and nothing ever
happens. So I put an alert inside of my document.observe("dom:loaded",
function(){
alert("dom loaded");
// observe click events....
});
After I dismiss the alert, the click events I am trying to observe, work
perfectly. Why do I need to have the alert in there. Is there some timing
issue that I am not aware of? Without the alert in there I can occasionally
get the click events to work after refreshing the page several times.
--
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/prototype-scriptaculous/-/UF8AD5INVRgJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en.