there are two links, thumb and list. where user clicks on thumb, iframe will load thumb.php. if user click on list, iframe will load list.php.

i am trying to set the "src" attribute of an iframe using following code:

document.getElementById('filemanager').src = 'thumb.php';

this javascript code works fine in IE but not in FF. how to set the scr attribute of an iframe in FF.