javascript - Change iframe src from inside after setting src with jquery? -


i have iframe source of i'm changing via various buttons using jquery. reason after iframe source set can't seem change src attribute links within it. content change correctly, not src attribute. need src change can main page stuff there.

this code main page i'm using set src:

$('#section').attr('src','music.html'); 

and within frame i've tried using regular links, window.location, etc.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -