List Info

Thread: How to get absolute uri by combining the baseuri and the relative uri in an html page?




How to get absolute uri by combining the baseuri and the relative uri in an html page?
user name
2006-10-30 12:54:02
How to get absolute uri by combining the baseuri and the
relative uri
in an html page using javscript?
I am looking for something similar to python's
urlparse.urljoin('baseuri', 'relativeuri');
For example urlparse.urljoin('http://blabla.com/abcd/123
','a.html')
will return 'http://blabla.com/abcd/
a.html'


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "JavaScript Forum" group.
To post to this group, send email to
JavaScript-Informationgooglegroups.com
To unsubscribe from this group, send email to
JavaScript-Information-unsubscribegooglegroups.com
For more options, visit this group at http://groups-beta.google.com/group/JavaScript-Informa
tion
-~----------~----~----~----~------~----~------~--~---

How to get absolute uri by combining the baseuri and the relative uri in an html page?
user name
2006-10-31 09:14:29

Turbo wrote:
> How to get absolute uri by combining the baseuri and
the relative uri
> in an html page using javscript?
> I am looking for something similar to python's
> urlparse.urljoin('baseuri', 'relativeuri');
> For example urlparse.urljoin('http://blabla.com/abcd/123
','a.html')
> will return 'http://blabla.com/abcd/
a.html'


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the
Google Groups "JavaScript Forum" group.
To post to this group, send email to
JavaScript-Informationgooglegroups.com
To unsubscribe from this group, send email to
JavaScript-Information-unsubscribegooglegroups.com
For more options, visit this group at http://groups-beta.google.com/group/JavaScript-I
nformation?hl=en
-~----------~----~----~----~------~----~------~--~---

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )