passing url 
September 3rd, 2008, 01:44 PM
|  | Member | | Join Date: Aug 2008 Location: Colombo 06, Srilanka
Posts: 86
| | |
hi
all
its me again
Is it possible to passing asn url or any other pages through javascript.
thanks in advance
chel-1
| 
September 3rd, 2008, 03:30 PM
|  | Site Moderator | | Join Date: Nov 2006 Location: UK
Posts: 14,525
Provided Answers: 12 | | | re: passing url
What's an "asn url"? Or was that supposed to be "a url"?
Show what you mean by code or an example.
| 
September 4th, 2008, 04:31 AM
|  | Member | | Join Date: Aug 2008 Location: Colombo 06, Srilanka
Posts: 86
| | | re: passing url Quote: |
Originally Posted by acoder What's an "asn url"? Or was that supposed to be "a url"?
Show what you mean by code or an example. |
oh sorry
ya thats url
thanks
chel-1
| 
September 4th, 2008, 11:22 AM
|  | Site Moderator | | Join Date: Nov 2006 Location: UK
Posts: 14,525
Provided Answers: 12 | | | re: passing url
This is a simple example: - location.href = "http://www.example.com/index.php?url=" + encodeURIComponent(url);
| 
September 9th, 2008, 11:22 AM
|  | Member | | Join Date: Aug 2008 Location: Colombo 06, Srilanka
Posts: 86
| | | re: passing url
thanks all
with thanks
chel-1
| 
September 9th, 2008, 12:19 PM
|  | Site Moderator | | Join Date: Nov 2006 Location: UK
Posts: 14,525
Provided Answers: 12 | | | re: passing url
You're welcome. Glad it's working.
|  | | | | /bytes/about
We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights.
Get the best answers to your questions from over 225,702 network members.
|