Reply
Get images within a span element
Old 08-26-2005, 01:31 PM Get images within a span element
Experienced Talker

Posts: 44
Hi,

I have a control panel for an e-app which uses frames.
The frame which holds the content page is called 'contentframe'.
In a page in this contentframe, I have a span element.

HTML Code:
<span id="status_22"><img name="bla" src="bla"></span>
I need to access this image, determin its name, and then act accordingly.
This is what I was trying to do:

HTML Code:
parent.frames['contentframe'].window.document.layers['status_22'].document.images[0]
As well as
HTML Code:
changedoc = parent.frames['contentframe'].window.document.getElementById('pageStatus_' + change_id );
doccont = changedoc.innerHTML;
var x = doccont.images;
None of this seems to work.
Do you have any idea on how to make this work?
watco is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 08-26-2005, 04:50 PM
Experienced Talker

Posts: 44
And problem is solved by now.
I chose for a completely different work-around.
watco is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Get images within a span element
 

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

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




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.11770 seconds with 12 queries