Questions tagged [back-button]

A button that will take the user back to the previous state that they were on.

A back button, often depicted with leftward facing arrow icon, is a basic control that allows the user to return to a previous application state.

In web browsers, a historical record of each time a user navigates to a new page is kept. Clicking the browser's back button will return the user to the previous page in the history.


For example, if a user navigates first to google.com (1) then to facebook.com (2) then to youtube.com (3), their browsing history will include all the pages they visited at each site in the order they were viewed (1, 2, 3).

While on youtube.com (3), if the user clicks the back button, they will then be taken to facebook.com (2). If they click the back button again, they will be taken to google.com (1).

1630 questions
0
votes
0 answers

window.onhashchange is not always working

I have a problem with window.onhashchange and the back button in Firefox 21. I coded a test page where a hash is added to the address when the user selects an element on the page: ELEMENT.onclick > window.location.hash = ID where ID is the…
shokkokkok
  • 11
  • 3
0
votes
1 answer

Handling Android back button in jQuery Mobile

I'm creating a jQuery Mobile app which is contained within a Titanium app's webview. When the Android back button is pressed, it exits the app rather than going to the previous page (not the best default behavior in my opinion.) I'm trying to get…
Justin
  • 17,670
  • 38
  • 132
  • 201
0
votes
0 answers

PHP_SELF form and Back Button action

So I have a php page called "view_employee.php" on that page, the user can press an "Edit Divisions" button and go to the "edit_employee_divisions.php" page. That page contains a form that submits to PHP_SELF so that the user can add, update, or…
D.R.
  • 1,199
  • 5
  • 19
  • 42
0
votes
1 answer

Reload previous link on click-event of back button of browser?

i am developing one website in which main content is getting load by jquery ajax according to selected menu item. on selecting any menu item, url get changed according to this pattern: http://host/domain/index.php?pageid=page here page refers to…
Kalpana Dixit
  • 449
  • 3
  • 7
  • 19
0
votes
2 answers

Onclick back button the application stops

I have one problem regarding my app,when i click back button my application is getting finish.i need to prevent it.How could i make it . @Override public void onBackPressed() { Log.d("CDA", "onBackPressed Called"); Intent setIntent = new…
user2134412
0
votes
2 answers

Leaving a asp.net application then hitting back isn't working

I have an asp.net application and am experiencing a surprising behavior. Whenever I leave one particular page in the application, The back button starts behaving in the following way: hitting back (which should take me to the offending page) makes…
ajon
  • 7,868
  • 11
  • 48
  • 86
0
votes
1 answer

Conditional Javascript Redirect With Back Button Checker

I have done a conditional redirect with javascript (depending of referer). However now I need to detect if user got redirected and then he clicked back button and got again to the page he has been redirected from. In this case I need no to redirect…
Zox
  • 203
  • 3
  • 8
0
votes
2 answers

App is close when back button in on phone but no in another

I have an app that goes to the homeScreen when I click the back button in certain activity using a Galaxy SII (Android 4.0.4) but it does goes back normally to all the previous activities that not call the finish() method when using an HTC EVO…
0
votes
1 answer

App is finished without finish() being called

I have an app that is finished when I click the back button in certain activity, but it goes to a previous activity in a different device. I am thinking that the problem is with the android version. It does that with the Galaxy SII (Android version…
Sterling Diaz
  • 3,789
  • 2
  • 31
  • 35
0
votes
0 answers

Force page reload on browser back when the fragment identifier changes

Problem: 1.User clicks on this link: default.aspx#id=1. 2.The page loads, the JS from the page gets the fragment identifier (in this case id=1), and then it posts back and loads some content based on that id. 3.User then clicks on the next link:…
osmiumbin
  • 329
  • 2
  • 6
  • 15
0
votes
4 answers

Use back button to save sharedPreferences

I'm having some issue with my application... I have a Settings Activity where the user can pick a theme for the app, then I have a button that says "Back" and returns the user to the main Activity. After that the theme get's saved and everything…
Marcus Gabilheri
  • 1,259
  • 1
  • 14
  • 26
0
votes
1 answer

Back button triggers 'a' event on iphone using jquery mobile

I have a jQuery mobile app that has some code to show the loading screen on (nearly) all links $(document).on('click', 'a:not(#addyes-link,upgradeyes-link,[rel=close],[data-icon=grid,[title=Close])', function (e) { captains.log(e); …
psykx
  • 265
  • 4
  • 19
0
votes
1 answer

Handling android back button

I have a basic question about android development. In my app i have a autocomplete box. When user click on a menu button, autocomplete become visible. When user clicks on an entry in autocomplete, the text views show it. I want to use back button…
Khayam Gondal
  • 2,366
  • 2
  • 28
  • 40
0
votes
2 answers

Disable backbutton click on edit text android

I am having an edit text, and while the user is entering data in it, i want the back button to be disabled. Please help if anyone has done this before.
bharath
  • 953
  • 4
  • 17
  • 30
0
votes
1 answer

Issue with back button between Fragments (backstack)

I have an app with 3 tabs. For two of theese tabs I have buttons where I change the current fragment with a new one with this code: MapFragment newFragment = new JourneyMapFragment(mContext, getFromDestinationCoordinate(),…
Maggie
  • 33
  • 2
  • 6