Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by James on Feb 26, 2008 07:51
open dhtmlx forum
Returning href of a tab

Hi guys,

Is it possible to return the href of the location loaded inside a tab say if my is called 'userinfo' and its iframe is loaded to www.google.com - how do i make it so i can return the location of userinfo so it returns www.google.com?

James
Answer posted by Support on Feb 26, 2008 08:56
There is no API call for such operation, but you can get the default value assigned to tab as

    tabbar._hrefs[tab_id]

or current tab location ( in case of iframe based mode )
    tabbar.tabWindow(tab_id).document.location.href