Thursday, May 26, 2011

fullhref object

The fullhref object returns the entire href of the current page, including the query portion.

Browser support: all
TheMadScript version: 2.0.0

Use JavaScript operators to insert the object into your text-displaying coding (unless there is no other content). This is just one way:

box_alert("The entire href of the page is: "+fullhref);

No comments:

Post a Comment