B5107656409
Posts: 0
Joined: Thu Jul 23, 2015 6:39 am

How to reload iframe

Dear All,

I have a HTMLBox with code below:

<!--
<script type="text/javascript"
var dest_url = 'http://nav.mydomain.com/api/?units=km...='+ localStorage.getItem('navlat') +'&lon=' + localStorage.getItem('navlng') ';

Code: Select all

 $(function() { 
  $('#nav_frame').prop('src', dest_url); 
 }); 

</script

<iframe id="nav_frame" width="100%" height="100%"</iframe

--

it works properly.. but in some conditions .. I need to reload it.. could any body please advise?

many thanks in advance

Regards
Win

Return to “Issues”