Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6

Thread: Back Button

  1. #1
    New Coder
    Join Date
    May 2004
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Back Button

    How do i make my back button to function like the browsers back button where it doesnt erase the text fields filled up by users?

  • #2
    New Coder
    Join Date
    May 2004
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts
    i tried putting this

    <a href = "Javascript:history.go(-1)">

    But i dont know why sometimes the data will be there and sometimes not..

    Can i know whats the problem

  • #3
    Senior Coder
    Join Date
    Jun 2002
    Location
    Wichita
    Posts
    3,880
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Why not just let the users use the back button provided by the browser, why do you need to reproduce the interface on your page?
    Check out the Forum Search. It's the short path to getting great results from this forum.

  • #4
    New Coder
    Join Date
    May 2004
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Basically im developing this system for a small clinic. Im very sure some of them are not aware of the browsers back button. Anyway, i dont want my user to bother about the functionality provided by the browser. I there any ways how can i implement this task

  • #5
    Senior Coder
    Join Date
    Feb 2004
    Posts
    1,206
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Javascript is not a browser-specific language, so it won't give you access to anything on any browser. VBScript on the other hand is specific to IE, so it may give you access to that back button..

    Here's something for Microsoft, maybe it'll help:
    http://support.microsoft.com/default...NoWebContent=1


    But you're creating an 'intranet' site, aren't you? Or will the public have access to this site? Because if only the users in the clinic will use it, you will probably have to teach them how to use your application and at that time you can teach them abou the browser's back button. But you know your business better than us I guess...

    Hope that helps,
    Sadiq.

  • #6
    Regular Coder
    Join Date
    Jul 2002
    Posts
    698
    Thanks
    0
    Thanked 0 Times in 0 Posts
    try
    <a href ="javascript:history.back();">te<a>


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •