Assuming the user has javascript enabled, are there any issues associated with using history.back() or history.go(-1)
Can I rely on this method as the only way for a user to exit a page ( only users with javascript can login )
It appears that this method of relocation is discouraged by w3c mainly because it excludes users without javascript. There are other disadvantages to this method, namely that these links (sometimes referred to as pseudo-links) don't offer the functionality that regularly-formed links do. You cannot preview the URL of the page the link will lead to, open the URL in a new window or a new tab, for example. There is also the structural argument against this form of linking that a site's navigation should be inextricably tied to its structure and content. This is a widely held view amongst the very best in this field. (See Web Site Usability by Jared M. Spool et al., 1999.)However, in practice if you do wish to use it, it can be relied upon to function correctly in all enabled browsers
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.