Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Contributor
Posts: 20
Registered: ‎12-24-2010
My Device: 8520

history.back() don't work with OS6

this function works well with OS5, but with OS6 the back button gives no response

 <script type="text/javascript">

  function trapForBackKey()
  {
      blackberry.system.event.onHardwareKey(blackberry.system.event.KEY_BACK, handleExit);
  }


  function handleExit()
  {
   window.history.back();

  }

</script>

 any advice???