You can type short pieces of JavaScript source code into the location box and press return and the results will be executed in the document window.
For example, to see the value of some mathematical constants, you type these lines:
javascript:Math.PI
javascript:Math.LOG10
javascript:Number.MAX_VALUE
javascript:alert(top.location)
Prev | Home | Next |
JavaScript Image Source URL | Up | JavaScript language |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |