Current location: Hot Scripts Forums » General Web Coding » JavaScript » problem getting the REAL src of an iframe


problem getting the REAL src of an iframe

Reply
  #1 (permalink)  
Old 06-23-04, 04:22 PM
kurt_nj kurt_nj is offline
New Member
 
Join Date: Jun 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
problem getting the REAL src of an iframe

I'm having a horid time trying to get the current page loaded in my iframe.

I'm using javascript:openIFrame("iFrame","page.htm") to change the iframe from the menu.

The problem though is that if I follow a link inside the iframe and then try to get the source using 'document.getElementById('iFrame').src;', I still get back the original page I called in the javascript command. In this case, page.htm

it seems that the src atribute does not update when you follow a link.

Anyone have an idea how to get around this?

Thanks
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Count problem kasic ASP.NET 1 10-20-04 12:23 AM
iFrame Scroll Problem reeel HTML/XHTML/XML 3 08-18-04 08:23 PM
IE redraw problem in iframes bsilby JavaScript 2 05-31-04 03:57 PM
Iframe Control Problem s73ad JavaScript 2 05-06-04 10:08 AM
Weird Problem Dazza203 PHP 7 01-01-04 03:08 AM


All times are GMT -5. The time now is 10:24 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.