Hi, I'm making a 404 page, and I want it to display the current URL, but I don't want it to be server side. I don't know much about any variables are anything, so it would be nice if a nice person could give me all of the needed code and how to use it! :$
Thanks in advance!
keavon
0
Light Poster
Recommended Answers
Jump to PostWhy certainly!!
As gained from here:
<SCRIPT LANGUAGE="JavaScript"> <!-- document.write("The current URL is : "+location.href) // --> </SCRIPT>
You will need to modify it a bit to match the …
All 3 Replies
Lusiphur
185
Practically a Posting Shark
Team Colleague
Featured Poster
keavon
0
Light Poster
keavon
0
Light 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.