iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar Mark Forums Read
Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome.

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-21-2005, 01:46 PM
WebProWorld New Member
 
Join Date: Oct 2005
Posts: 13
cf05 RepRank 0
Default Convert a requested url to a Destination URL in javascript?

How to convert a dynamic requested URL to a destination URL in javacript?

I just give an example to clarify my question.

A dynamic requested URL:
http://techbargains.com/jump.cfm?//i...arg=B00067Z098

The above link actually sends visitors to the destination URL

http://www.amazon.com/gp/product/B00...49650?n=172282


I want to display this destination URL instead of requested URL so visitors don't need to click the requested URL to get the destination page.

the javascript code will send the requested URL to the server, and get the destination URL and display it in the browser.

I tried to use Request.Querystring("http://techbargains.com/jump.cfm?id=108&arg=B00067Z098")
but it doesn't work.

Any help will apprecaite
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 02:48 AM.



Search Engine Optimization by vBSEO 3.3.0