www.webdeveloper.com
Results 1 to 2 of 2

Thread: back functionality

  1. #1
    Join Date
    Mar 2009
    Posts
    3

    back functionality

    i created a button (just like back)when i click on the button iam calling a function window.history.go(-1) when i click on three pages it is working fine .


    how can i disable the button when the first page appears while clicking the button

  2. #2
    Join Date
    Jan 2005
    Posts
    372
    How are you defining 'the first page' ? Can't you just remove the button from that page?
    If not, you probably want to look into doing a comparison with
    Code:
    document.location

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles