Hello all!
I am using a little piece of code in a report I'm generating (LogiXML). It is a "back" button that takes the user back to the previous page.. It does not however, use any form of a history, back, location javascript code. It just uses a plain old link directly to the page prior. I am rather partial to the history.back statement though because it always seemed much faster. (Possibly the page already being loaded in the cache, I'm not sure.) I'd like to make though, that the history.back() command will always take me to the page it should be going to. So if the history.back.value (in theory) is equal to "load.htm" (the page it should be going to) then proceed to history.back(), else, window.location = "load.htm";... Could someone instruct me on the correct syntax for this? Thank you very much!
PhilEaton 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.