带有素数面的JQuery选项卡
我使用PrimeFaces3.2,我想使用页面中JQuery的选项卡。在带有素数面的JQuery选项卡,jquery,jquery-ui,jsf,jsf-2,primefaces,Jquery,Jquery Ui,Jsf,Jsf 2,Primefaces,我使用PrimeFaces3.2,我想使用页面中JQuery的选项卡。在标记中,我包含JQuery: <h:outputScript library="js" name="jquery-ui-1.10.3.custom/js/jquery-ui-1.10.3.custom.min.js" /> 在带有选项卡的页面中,我已包含以下代码: <script> jQuery(function() { jQuery( "#tabs" ).tabs(); });
标记中,我包含JQuery:
<h:outputScript library="js" name="jquery-ui-1.10.3.custom/js/jquery-ui-1.10.3.custom.min.js" />
在带有选项卡的页面中,我已包含以下代码:
<script>
jQuery(function() {
jQuery( "#tabs" ).tabs();
});
</script>
jQuery(函数(){
jQuery(“#tabs”).tabs();
});
代码不起作用。Firebug控制台显示以下消息:
jQuery(…)。选项卡不是函数
您能帮我一下吗?当Primefaces中有TabView时,为什么要使用JQuery选项卡?#Tabs是tab的结构id。Primefaces选项卡有此问题:。