developer sign in
where » create » reference » choice

commenting


"//" is the only valid token to indicate the start of a comment and is only permitted with the script element or the value of an action attribute. Everything from the comment token to the next newline character will be ignored during script execution.

Example

<script>
// the current x pos
var xPos = 0;
// the current y pos
var yPos = 0;
</script>

<input type="button" value="Go!" onSelect="document.theForm.submit(); // alert('ok')" />
terms of use | privacy policy | about | FAQ | blog | jobs | contact us
For 24/7 support email support@where.com or call 888-262-1150
WHERE™ is a product from uLocate Communications, Inc. ©2007 All Rights Reserved.