12-15-2008 01:55 PM - edited 12-15-2008 02:10 PM
Has anyone else encountered the blatant problem with the Blackberry Bold browser where the history.go() and history.back() methods are ignored? All the other javascript on my site works fine except for the following -
<a href="javascript~history.go(-1)">Back</a>
I've even tried defining a standalone function, but it doesn't work either -
<html><head><script type="text/javascript">function blah() { history.go(-1); alert('hello world'); }</script></head>
<body><a href="javascript~blah()">Back</a></body>
</html>
note: the tildes (~) should be colons, but the forums doesn't like colons.
The alert() works, but not the history.go(); what gives?!?
12-15-2008 11:41 PM
12-16-2008 08:18 AM
12-16-2008 09:32 AM
12-16-2008 12:26 PM
01-23-2009 03:07 AM
Did anyone find out if this was fixed on the Bold? Or any word from BlackBerry about which version of the OS this was fixed in?
01-29-2009 04:26 PM
02-18-2009 02:48 AM
I can't see any fix for history.go(-1), history.back(), and window.back() on 4.6.1 (simulator).
It doesn't work when I add "javascript&colonhistory.back()" and the above functions on my hyperlink. Any idea?
02-25-2009 02:49 AM
Hi, anyone knows how to go back to previous page?
javascript history.go(-1), history.back(), window.back() are not work.
but URL referrer will make a loop if I press Back link twice.
(I've enable javascript on BB browser, but not work on Bold and simulator.)
Thanks.