Follow the links of the tab in jquery ui tab


Staff member
I have jquery tabs like

<ul id="tabsList">
    <li><a href="#tab-1">Name 1</a></li>
    <li><a href="#tab-2">Name 2</a></li>
    <li><a href="">Name 3</a></li>

<div id="tab-1">content 1</div>
<div id="tab-2">content 2</div>

the first two tabs load the respective divs. But the third one should go to, instead it does nothing. It just adds <a href="" rel="nofollow noreferrer"></a><strong>#ui-tabs-[object Object]</strong>
to the url.

I am developing a wordpress plugin and the admin page needs a tab interface. I tested this in a local server and not working


i don't want to load inside the page. It should open the webpage in new tab/window like ordinary links do.