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-Information googlegroups.com
To unsubscribe from this group, send email to
JavaScript-Information-unsubscribe googlegroups.com
For more options, visit this group at http://groups-beta.google.com/group/JavaScript-Informa
tion
-~----------~----~----~----~------~----~------~--~---
|