T
Turbo
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'
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'