Jquery add new tab You just need to get the current . I am trying to open a new window from javascript but nothing is being inserted into the html: This works better than the jQuery solution because you can write an entire HTML document, opens new tab – DropHit. I want to use jquery to open that url in a new tab (only in google chrome). Add bootstrap tabs dynamically including the events firing mechanism. It accepts the URL of the resource and the target’s name, where the specified resource should be loaded (in a window or a tab). This seems straightforward and clean to me. The number of 'LI' elements must match to the number of 'DIV' elements. P Create New Pen Can you please let me know how I can set the active tab in jquery ui with a button click out of the tabs? and the link opens in a new (Firefox, not JQuery) tab. The first argument here is “action” which is specified as a string. You can use the event. tgdwvkqymelbreykfeiqrqyifhyyckqwohlldaiqzpkimnylnonsuevmpkvdhzot