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

Popular posts from this blog

php - get table cell data from and place a copy in another table -

javascript - Mootools wait with Fx.Morph start -

php - Navigate throught databse rows -