View Single Post
Old 02-13-2013, 08:06 PM   PM User | #8
Old Pedant
Supreme Master coder!

 
Old Pedant's Avatar
 
Join Date: Feb 2009
Posts: 23,168
Thanks: 59
Thanked 3,993 Times in 3,962 Posts
Old Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to all
Hmmm...If I use an ID for the <iframe> then can target= in the <a> tag "find" it? I've never tried that.

Actually, in my own code, I do use an ID for the <iframe> and then do
Code:
document.getElementById("hiddenFrame").src = 
    "playitAgainSam.asp?file=" + encodeURIComponent(someFileName);
I was trying to simplify that for use with the <a> tag.
__________________
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
Old Pedant is offline   Reply With Quote