javascript - Frame reload not working in Firefox and Chrome -
a frame not reloading in firefox , chrome, works in ie.
parent.toolbar.location.reload()
my function executes in "builder" frame. have used method before , has worked in browsers...but not anymore, works in i.e.
here frame layout
<frameset id="frameset" rows="95,*" cols="*"> <frame noresize="" id="toolbar" name="toolbar" src="application/toolbar/<?=$id ?>"> <frameset cols="81%,*"> <frame id="preview" name="preview" src="<?=$preview_url ?>" onload="builder.setpreviewevents()" > <frameset id="tcolor" rows="60,*" cols="*"> <frame id="colorfr" name="colorfr" scrolling="no" src="<?=$colorfr_url ?>" > <frame id="builder" name="builder" src="<?=$builder_url ?>" > </frameset> </frameset> </frameset>
try this:
parent.document.getelementbyid("toolbar").src = parent.document.getelementbyid("toolbar").src;
Comments
Post a Comment