0 Replies Latest reply on Apr 15, 2008 11:48 PM by Chuck G

    Question about onclick and rich:tab

    Chuck G Newbie


      I have a tabPanel with a few tabs and I am trying to set an onclick event on each tab that is fired when the tab is clicked (basically checking form data to see if any changes have been performed on the current tab and pop up a message if it has). If I place a javascript call in an onclick on the tab, it does not fire when the tab is clicked, but rather, when that tab is active, any click on the entirety of the tab fires this function.

      What is the proper way to attach an onclick to the tab label itself that will fire when a tab is changed? Any suggestions are appreciated.