Handling back button

Hi dears,
I’ve another question that makes me crazy.
A user expects that if he presses back button, the system returns on previous form but a browser normally returns on previous wep page.
Is there a way to handling the back button on browsers?
Thanks in advance.
Alex

If u search ‘back button’,there are quite a few discussion.best rdgs,tst

Function onDeviceReady()
  document.addEventListener ("backbutton", onBackButton, False)
  document.addEventListener ("menubutton", onMenuButton, False)
End Function
``