Tab 1 alert('fr-select tab_1'); Tab A (fr:datatable) alert('fr-select tab_a'); Tab B (fr:datatable) alert('fr-select tab_b'); Tab 2 (fr:datatable) alert('fr-select tab_2');