Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 52 lines (36 sloc) 1.238 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Websanova $.uri()</title>

<script type="text/javascript" src="./inc/jquery.1.8.2.min.js"></script>
<script type="text/javascript" src="./jquery-uri.js"></script>

<script type="text/javascript">

console.log($.uri());
console.log('domain: ' + $.uri('domain'));
console.log('host: ' + $.uri('host'));
console.log('tld: ' + $.uri('tld'));
console.log('sub: ' + $.uri('sub'));
console.log('port: ' + $.uri('port'));
console.log('protocol: ' + $.uri('protocol'));
console.log('path: ' + $.uri('path'));
console.log('file: ' + $.uri('file'));
console.log('filename: ' + $.uri('filename'));
console.log('fileext: ' + $.uri('fileext'));
console.log('1: ' + $.uri('1'));
console.log('2: ' + $.uri('2'));
console.log('3: ' + $.uri('3'));
console.log('-1: ' + $.uri('-1'));
console.log('-2: ' + $.uri('-2'));
console.log('-3: ' + $.uri('-3'));
console.log('?: ' + $.uri('?'));
console.log('?test: ' + $.uri('?test'));
console.log('?poo: ' + $.uri('?poo'));
console.log('#: ' + $.uri('#'));
console.log('#this: ' + $.uri('#this'));
console.log('#test: ' + $.uri('#test'));

</script>
</head>
<body>

</body>
</html>










Something went wrong with that request. Please try again.