_Nestor
12
Light Poster
Recommended Answers
Jump to PostIt's either you create a function that will handle your specified URLs or you can just apply simple inline execution like this:
<a onclick="javascript: this.href = this.href.replace('ei', 'ie');" href="www.google.ei" >Changing URL with JavaScript!</a>
All 2 Replies
Reply to this topic
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.