[英]trigger the Onclick event on a tab in sugarcrm with JavaScript
I have 3 tabs in a sugarcrm ( 6.4 ) window. 我在sugarcrm(6.4)窗口中有3个标签。 If I click on a certain tab, I would like to trigger a JavaScript function.
如果单击某个选项卡,我想触发一个JavaScript函数。 The onclick event needs to be triggered when clicking on the tab label, not when clicking inside the tab page.
单击选项卡标签时需要触发onclick事件,而不是在选项卡页内部单击时需要触发该事件。
We use YUI 2 TabView, so you should be able to follow the examples in the documentation link below to handle the click event. 我们使用YUI 2 TabView,因此您应该能够按照下面的文档链接中的示例来处理click事件。
http://developer.yahoo.com/yui/tabview/#using http://developer.yahoo.com/yui/tabview/#using
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.