|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
|
|
#1
|
|||
|
|||
|
IFRAME Referencing
I have the following scenario:
2 IFrames which are unique to each other (with different IDs) in the same page, and each, having a DIV tag(external sourcing to another file which actually has the DIV tag). However, the DIV tags are of the same ID. When I reference(using javascript) the DIV tag in the first IFRAME, will there be clashing with the second DIV tag of the same ID in the second IFRAME? thanks
__________________
Beginner |
|
#2
|
|||
|
|||
|
Hi
I will strongly suggest you to read the article from following link, and you will never confused with DOCUMENT OBJECT MODEL(DOM) and <div> tag etc. http://hotwired.lycos.com/webmonkey...ml?tw=authoring Thank You. |
|
#3
|
|||
|
|||
|
what js are u using????
to get to the div tag, it should be something like... ifame_name.document.div_id. |
|
#4
|
|||
|
|||
|
JS 1.2...does it matter?
Thanks, have read the article, and it was no where close to answering my question Knew it all...What i really meant and assume is, since the external file being sourced in to the IFRAME is 'local' to that IFRAME, hence whatever IDs being referenced in that file is known there only.... and even though there's another of the same ID, they wouldn't clash, would they? am i right? |
![]() |
| Viewing: Dev Articles Community Forums > Programming > Programming Tools > IFRAME Referencing |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|