# History.back not working

**URL:** https://forum.kirupa.com/t/history-back-not-working/167811
**Category:** Uncategorized
**Created:** [November 1, 2005, 9:52am UTC](https://forum.kirupa.com/t/history-back-not-working/167811 "2005-11-01T09:52:52Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jakepeg](https://avatars.discourse-cdn.com/v4/letter/j/8dc957/32.png) [@jakepeg](https://forum.kirupa.com/u/jakepeg)
#### Post date: [November 1, 2005, 9:52am UTC](https://forum.kirupa.com/t/history-back-not-working/167811/1 "2005-11-01T09:52:52Z")

</div>

Hiya

I have an iFrame on my page and a swf nav bar. On the nav bar is back button to allow the user to click back in the iFrame. I managed to get this working on my mac, but its wont work on windowz. I put the following code on my back button . . . . . .

[AS]  
on (release) {  
getURL(“javascript:myiFrame.history.go(-1)”);  
}  
[/AS]

I have tried a number of different ways such as  
window.myiFrame  
history.back  
frames.myiFrame

any ideas???
