Fiddle
Why is it that only one of the iframes will work at the same time? Is something wrong with my javascript?
function test(){
document.getElementById('src1').src='http://cnn.com/'
}
function test1(){
document.getElementById('src2').src='http://stackoverflow.com/'
}
test();
test1();