ZURB基金会,切换标签编程 [英] ZURB Foundation, switching tab programmatically

查看:121
本文介绍了ZURB基金会,切换标签编程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

即时通讯使用ASP与基础,反正是有一个选项卡之间进行切换到另一个使用JS或ASP?

Im using asp with foundation, is there anyway to switch between a tab to another using JS or ASP?

链接(简单标签)。

推荐答案

一个可能的解决方案是一个id分配给选项卡链接,单击它使用jQuery。

A possible solution is to assign an id to the tab link and click it using jQuery.

由于以下code摘录,注意分配给锚链接的ID ...

Given the following code excerpt, notice the id assigned to the anchor link...

<dd><a href="#simple2" id="tabId">Simple Tab 2</a></dd>

您可以使用激活此行的jQuery此链接。

You could activate this link using this line of jQuery.

$("#tabId").click();

这篇关于ZURB基金会,切换标签编程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆