|
-
February 26th, 2003, 09:43 PM
#1
Question about html span tag used with innerHTML tag.
Hi, everyone!
Here are some codes discussing html span tag used
with innerHTML tag. Who can show me the function
of the piece of codes here?
Codes:
--------
<img id='obj1' style='cursor:hand' src='1.gif'>
<img id='obj1' style='cursor:hand' src='11.gif'>
<a class = item href = "test1.jsp"> abc </a></br>
<span id = 'span1'></span>
<img id='obj2' style='cursor:hand' src='2.gif'>
<img id='obj2' style='cursor:hand' src='22.gif'>
<a class = item href = "test2.jsp"> cba </a></br>
<span id = 'span2'></span>
--------
In some other places,
Codes
--------
span2.innerHTML='<div align=left>Uploading...</div><br>'
--------
Who can explain the meaning and function of the two pieces
of codes here? (I think it is used to insert html scripts between
<span id = 'span2'> and </span>, but I am not sure.)
Thanks in advance,
George
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|