[Javascript] Getting address bar contents

Peter Brunone peter at brunone.com
Tue Apr 20 09:54:36 CDT 2004


Haneesh,

   A simple

var myAddr = window.location.href;

will populate the variable 'myAddr' with the address bar contents.

Cheers,

Peter

Original Message:
>From: "haneesh nair" <haneeshnair at hotmail.com>


>_______________________________________________
>Javascript mailing list
>Javascript at LaTech.edu
>https://lists.LaTech.edu/mailman/listinfo/javascript
>
>





More information about the Javascript mailing list