Monday, November 21, 2011

Add BookMark Programmatically

Add BookMark Programmatically through JavaScript

function addToBookMarks()
{
    if(document.all)
         window.external.AddFavorite(location.href,document.title);
         else if(window.sidebar)window.sidebar.addPanel (document.title,location.href,'');
}

No comments:

Post a Comment

IActionResult Vs ActionResult

IActionResult  Vs   ActionResult IActionResult   is an interface and  ActionResult   an implementation of that interface. ActionRes...