in javascript dom, how do you get the target of the current window? -
assuming link
<a href='www.domain.com/mypage' target='target1' >open in new tab</a> opens mypage
how, mypage, know if current window 'target1'
have looked under window , window.location, nothing there seems fit
the window.name property you're looking for.
Comments
Post a Comment