Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > Span loading?

Reply
Thread Tools

Span loading?

 
 
Robert Scheer
Guest
Posts: n/a
 
      05-25-2004
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
 
Reply With Quote
 
 
 
 
Ivo
Guest
Posts: n/a
 
      05-27-2004

"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


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I'm looking for html cleaner. Example : convert <h1><span><font>my title</font></span></h1> => <h1>my title</h1>… Stéphane Klein Python 2 03-30-2010 12:35 AM
Re: I'm looking for html cleaner. Example : convert <h1><span><font>my title</font></span></h1> => <h1>my title</h1>… Stefan Behnel Python 0 03-29-2010 08:14 PM
Can span include span? Fulio Open HTML 5 06-26-2009 10:24 PM
DataGrid (body only) contained in <span>...</span> tags Dan Bishop ASP .Net Datagrid Control 2 06-07-2004 04:00 PM
Enable drag and drop to the text between <span></span> Wang, Jay Javascript 5 05-25-2004 09:33 PM



Advertisments