How to make an anchor tag refer to nothing?

后端 未结 18 1718
一向
一向 2020-12-12 10:28

I use jQuery, I need to make some anchor tags perform no action.

I usually write it like this:

link

H

18条回答
  •  心在旅途
    2020-12-12 11:00

    The only thing that worked for me was a combination of the above:

    First the li in the ul

  • All Assigned
  • Then in the LoadTab2_1 I manually switched the tab divs.

    $("#tabs-2-1").hide();
        $("#tabs-2-2").show();
    

    This is because the disconnection of the also disconnects the action in the tabs.

    You also need to manually do the tab styling when the primary tab changes things.

    $("#secTab1").addClass("ui-tabs-active").addClass("ui-state-active").addClass("ui-state-hover").addClass("ui-state-focus");
        $("#secTab1 a").css("color", "#ffffff");
    

提交回复
热议问题