object.addEventListener("load", myScript);
object.onload = function(){myScript};
<element onload="myScript">
window.onload = init;
document.onload = function
object.addEventListener("load", myScript);
object.onload = function(){myScript};
<element onload="myScript">
window.onload = init;
document.onload = function
We had a similar desire and solved it by passing a refresh function from the parent to the child.
for example, when you open the child, you would have something like navigate('Child', { refresh: refreshFunction }
You can then access this function in the child ( via something like this.props.navigation.state.params.refresh(); ) before the back action.
<script type="text/javascript" language="javascript">
function redirect()
{
window.location.href="login.php";
}
</script>
<form name="form1" id="form1" method="post">
<input type="submit" class="button4" name="order"
id="order" value="Place Order" onclick="redirect();" >
</form>
window.location.reload(false);
BY LOVE
window.location.reload();
location.reload();
window.location.reload();
location = location
location = location.href
location = window.location
location = self.location
location = window.location.href
location = self.location.href
location = location['href']
location = window['location']
location = window['location'].href
location = window['location']['href']
location = window.location['href']
location = self['location']
location = self['location'].href
location = self['location']['href']
location = self.location['href']
location.assign(location)
location.replace(location)
window.location.assign(location)
window.location.replace(location)
self.location.assign(location)