Dear all,
Can anyone give me a help of how to add an action to ContentPane,
when people click on the title of content panel
I try to use
<div dojoType="dijit.layout.ContentPane" title="title 1" onClick="alert('OK1');">
<div dojoType="dijit.layout.ContentPane" title="title 2" onClick="alert('OK2');">
But the above code only alert when I click inside the body of the pane,
not immidiately when I click the tab/pane,
For example I am on pane1, and click pane2, I want an alert "OK2"
Thanks
YUAN
_______________________________________________
FAQ:
http://dojotoolkit.org/support/faqBook:
http://dojotoolkit.org/docs/bookForums:
http://dojotoolkit.org/forumDojo-interest@...
http://turtle.dojotoolkit.org/mailman/listinfo/dojo-interest