I have a link on a page which when clicked should open the content in a new tab. How should I do this?
-
you could do something like window.open("some_page.html#someTab", ""); with some js code fetch the hash value and open the tab..Sudhir Bastakoti– Sudhir Bastakoti2013-12-30 05:47:24 +00:00Commented Dec 30, 2013 at 5:47
-
@Sudhir: I think i did not frame the ques properly.. When I say "tab" what I mean is I have created tabs on a page for differetn sections of data.. I want to open that particular tabuser2822187– user28221872013-12-30 05:52:55 +00:00Commented Dec 30, 2013 at 5:52
-
is "tab" means different "Div" in same page?AmanS– AmanS2013-12-30 06:45:27 +00:00Commented Dec 30, 2013 at 6:45
Add a comment
|