javascript - What’s the best way to reload / refresh an iframe? -


i reload <iframe> using javascript. best way found until set iframe’s src attribute itself, isn’t clean. ideas?

document.getelementbyid('some_frame_id').contentwindow.location.reload(); 

be careful, in firefox, window.frames[] cannot indexed id, name or index


Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -