You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by sharath karnati <ka...@yahoo.com> on 2008/04/03 22:54:08 UTC

Simple question in

Hi All,
   
    I'm having following tabbedpanel,whenever I select a tabbed pane I'd like to call a javascript method. I tried onselect/onclick but these are not working.
   
     
  <s:tabbedPanel id="tabContainer" cssStyle="valign:top; height: 500px;" doLayout="true" >
   
  <s:div id="Panel1" label="Admin" theme="ajax"  labelposition="top"  onselect="javascript:loading('Panel1');">
  This is Panel1<br/> 
  </s:div> 
   
  <s:div id="Panel2" label="Detail" theme="ajax"  labelposition="top"  onselect="javascript:loading('Panel2');">
  This is Panel2<br/> 
  </s:div>
  </s:tabbedPanel>
   
  Thanks for your help in advance.
   
  Regards,
  Sharath.

       
---------------------------------
You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost.