SERVICES

CRYSTAL COMPUTER CONCEPTS

TAXES Cooper, the doggie, with Santa TECHNOLOGY

DELAWARE'S   ·      MIDDLETOWN  ·     ODESSA  ·    TOWNSEND AREA

This page demonstrates how to write a Return Function with JavaScript .

In general, the property, location, is attached to the method, href (hypertext reference).

The specific page location's name is assigned to the method. That's it folks!

<script type="text/javascript" language="javascript1.2">

function retindex()
{
	location.href='index.htm';
	
}
</script>

The function is called by clicking a button that is coded as follows:


<p><input type="button" id="retindex" name="retindex" value="RETURN to SANTA'S DOGGIE" onclick="retindex()" /> </p>