[jQuery] Changing the SRC of an iframe
I currently have this function set up:
function link(win,url){
if(url){
$(win+' > iframe').attr("src",url);
}
setFocus(win);
}
And I don't get any errors in the console.
win is a div that contains an iframe hence the child selector.
I've tried a few different things but o no prevail...
Help is appreciated :)