Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Obtener url base

function getBaseUrl() {
            var re = new RegExp(/^.*//);
            document.getElementById('baseresult').innerHTML += re.exec(window.location.href);
        }
Source by www.webtechriser.com #
 
PREVIOUS NEXT
Tagged: #Obtener #url #base
ADD COMMENT
Topic
Name
1+3 =