AddFavorite method (external)
Displays the 'Add a Favorite' dialog box for the specified URL and title in Internet Explorer.
You can find the related objects in the Supported by objects section below.
|Required. String that specifies the URL of the page that you want to add to the favorites.|
|Optional. String that specifies the name of the page that you want to add to the favorites.|
This method has no return value.
Example HTML code 1:
This example shows how to add a page to the Favorites (Bookmarks) in Internet Explorer and Firefox.
Did you find this example helpful?
User Contributed Comments