First Time Only2. Obtain the Script |
|
Join the DiscussionMore of this FeatureTo add first time only processing to your web page you first need to copy the Javascript code into the head section of your page. Copy the above Javascript and save it to an external file. I called mine firsttime.js. We can now link the Javascript into the head of our web page using the following code:
<script type="text/javascript"
src="firsttime.js"></script>
The final step is to replace the alert('welcome'); statement with whatever processing it is that you want to have performed only on the first visit to the page.
Introduction and Sample |
Obtain the Script
|

