Location-Objekt


Inhaltsverzeichnis


zurück zum Index


Allgemeines

Verwendung der Eigenschaften

Verwendung der Eigenschaften:
<script language="JavaScript">
<!--BEGIN
	with(location)
	{
		document.writeln("<b>hash</b> lautet: "+hash+"<br>");
		document.writeln("<b>host</b> lautet: "+host+"<br>");
		document.writeln("<b>hostname</b> lautet: "+hostname+"<br>");
		document.writeln("<b>href</b> lautet: "+href+"<br>");
		document.writeln("<b>pathname</b> lautet: "+pathname+"<br>");
		document.writeln("<b>port</b> lautet: "+port+"<br>");
		document.writeln("<b>protocol</b> lautet: "+protocol+"<br>");
		document.writeln("<b>search</b> lautet: "+search+"<br>");
		document.writeln('<form><input type="button" name="b1" value="Aktualisieren" onClick="location.reload()"></form>');
	}
//END-->
</script>


zurück zum Seitenanfang
zurück zum Index