Follow the links of the tab in jquery ui tab

admin

Administrator
Staff member
I have jquery tabs like

Code:
<ul id="tabsList">
    <li><a href="#tab-1">Name 1</a></li>
    <li><a href="#tab-2">Name 2</a></li>
    <li><a href="http://www.google.com/">Name 3</a></li>
</ul>

<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 google.com, instead it does nothing. It just adds <a href="http://example.com/index.html" rel="nofollow noreferrer">http://example.com/index.html</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

<strong>update:</strong>

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