469,579 Members | 1,214 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,579 developers. It's quick & easy.

Span loading?

Hi.

I have a table with some spans in it. Every span contains a different
clock. When each span finishes load, I need to run a javascript
function to start the clock, but I could not find anything like an
onload event for spans. Is it possible? Or is there another way to
start all the clocks without to click a button?

Thanks,
Robert Scheer
Jul 23 '05 #1
1 1420
Ivo

"Robert Scheer" wrote
I have a table with some spans in it. Every span contains a different
clock. When each span finishes load, I need to run a javascript
function to start the clock, but I could not find anything like an
onload event for spans. Is it possible? Or is there another way to
start all the clocks without to click a button?


What clocks? images, something else?

If you look at the source of Google's home page:
<input maxLength=256 size=55 name=q value="">
<script>
document.f.q.focus();
</script>
you can see that the input element is given focus before the end form tag!
They can do this because a) it doesn't really matter, b) the moment the last
character of the input tag has been read, the input tag is available for
scripting.
HTH
I
Jul 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by deko | last post: by
1 post views Thread by developer | last post: by
5 posts views Thread by ste.paoletti | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.