Questions tagged [back]

Method or control to return user to previous state, page or screen.

Refers to questions about preventing, detecting, handling, controlling, etc:

  1. The back button on web browsers
    • History of visited sites
    • Backing out of a "dirty" page
  2. The hardware or software back button on smartphones and other similar devices
  3. Navigation in Android/IOS applications
    • Returning to the previous view
    • Exiting the application (Android)

et cetera.

Does not refer to

  • Keyboard backspace key (^H)
  • Keyboard delete key (^?)
  • Reverse side of a physical device
  • Previous versions of an application
1484 questions
0
votes
3 answers

php browser back after post

I have php page where I used a form to submit messaage. It submits to itself : action="" Then it sends email, and I have a javascript function that uses jnotify, to alert whether message is sent successfully or…
Jamol
  • 3,768
  • 8
  • 45
  • 68
0
votes
3 answers

Anchor when got back

Maybe someone knows how to do such a function? I need that every time then people goes back in my page they would get exaclty at the place where the link was, not in the top (beginnig) of a page. Facebook has such a function. I know there is a links…
Kazik Jarmolovski
  • 211
  • 1
  • 3
  • 9
0
votes
2 answers

android: return to Gallery after images are uploaded (any function substituting "back" button activity?)

My app is a simple uploader built for uploading image to web services. User goes to the Gallery and uploads the images by pressing "Share" -> my app. After uploaded, user gets a blank page and have to press "back" button to leave my app after the…
Joanne
  • 1,226
  • 13
  • 15
0
votes
4 answers

backbutton on my android webview

I tried to add a back button to my android webview but i've got this error: The method onBackPressed() of type new WebViewClient(){} must override or implement a supertype method This is my Java file: package sherdle.donald.duck.app; import…
Sherdle
  • 30
  • 1
  • 7
0
votes
3 answers

back function in STL

I read everywhere that back() function return reference to the last element, but I have a doubt. I created a vector with elements 1,3,5 resp.Then I wrote the following code int i = v.back(); i++; after the above two statements , I printed the…
Raman Gupta
  • 169
  • 1
  • 1
  • 7
0
votes
2 answers

Page doesn't initilize properly when backing from location.href

I've just finished writing a pretty substantial amount of Javascript (I'll spare you everything but the most relevant parts) and I'm left with just one problem. At one point I need to use location.href to advance to an article page. If the user…
Sandy Gifford
  • 7,219
  • 3
  • 35
  • 65
0
votes
1 answer

Using a push segue in StoryBoard, how to change to previous view

I am creating an app where if something occurs, it switches back to the previous screen. There is practically no real code in the app, and when it does it has nothing to do with the previous view, but just in case, here is the entire .m:…
Sam
  • 163
  • 1
  • 13
0
votes
2 answers

Back button is not working properly?

I have developed an application in phoneGap Android.In my App back button is not working properly. I used this code to navigate the form: document.addEventListener("backbutton", handleBackButton, true); function handleBackButton() { if…
JavaH
  • 427
  • 2
  • 11
  • 29
0
votes
1 answer

Canvas Child in background

I want to put a Canvas child to background. For example: I have an Ellipse (child of canvas). When I add a rectangle on same coordinates I want to put it under ellipse. How can I do this?
Ionică Bizău
  • 109,027
  • 88
  • 289
  • 474
0
votes
1 answer

request.getHeader("referer"), than back button reload the page

JSP1 links to JSP2. JSP2 call a servlet that does some stuff and ends with: response.sendRedirect(request.getHeader("referer")); return; At this point I'm back to JSP2. The problem is that pressing the browser back button from there, the page…
Simone Conti
  • 544
  • 3
  • 9
  • 20
0
votes
0 answers

Android A opens B back goes back to A twice, but crashes the third time

Okay so my App has a Tabview with 3 tabs. Two of my tabs I have no issues with. The first just opens a webview, which works, the third shows a series of picture buttons which in turn open pages that have options, and it works fine. My second is the…
James
  • 31
  • 1
  • 1
  • 3
0
votes
3 answers

Not redrawing the page when the user presses the Back Button (Using $_GET variables in PHP)

I have a dynamic website with pages drawn using PHP. Using the $_GET variable I am getting commands from the user, executing PHP based on the $_GET command, and drawing a page. However, when the user presses the back button I want them to see the…
Nate
  • 6,384
  • 3
  • 25
  • 30
0
votes
2 answers

Using javascript:history.go(-1) works but I lose css properties and scripts

When my clients submit a form and get an error they're taken to a page with a link to go back. I'm using javascript:history.go(-1) to go back to the form. I'm loosing my css functionality with background changes and colors, etc. of the form when…
Erik
  • 5,701
  • 27
  • 70
  • 119
0
votes
3 answers

Back button in iphone app

I have a simple single View application with a button in the main view which sends me off to another view with an independent xib file. On this second view I have a button that should send me back to the main view. I'm not using a navigation…
gotfunk
  • 39
  • 6
0
votes
2 answers

What is way to show authorization activity instead of main app activity?

I have need to show autorizationa activity if user not autorized. I have use Launcher activity (has nohistory flag) with next code: protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); if…
Nik
  • 7,114
  • 8
  • 51
  • 75