javascript document location
| location | NN <6 IE 3 DOM n/a |
|
|
Read/Write |
|
Indicates the URL of the current document. This property was deprecated because it may conflict with the window.location property. Netscape 6 drops support for this property entirely. Use either the document.URL property, or, better, the window.location.href property. |
|
| Example | |
document.location = "products/widget33.html"; |
|
| Value | |
|
A full or relative URL as a string. |
|
| Default | |
Previous: javascript document media
- #12009-09-08[Quote]Its a very good conclusion even I would add this javascript code to get the document.write(window.location.href);
- #22009-12-18[Quote]Interesting...... :)
- #32009-12-23[Quote]quite nice :)
- #42010-05-11[Quote]document.location > window.location
561,Nickname,Homepage or email,Comments here,Add comment
