| 
      Return to Recent Questions I tried to use javascript function with the "Title item" of my javascript tree view. 
 
 Q:
I tried the following for subitem and it worked but
 not working with the "Title item" (Group or header item), is there a way to
 process onclick for the title item?  Thanks again.
 
 You're able to use Javascript for each item, for example:
 var tmenuitems = [
 ["item text", "javascript:your_code_here"]
 ];
 
 A:
Unfortunately, title items doesn't allow to use Javascript in the same
way.
 But you can do the following:
 
 var tmenuitems = [
 ["<div onclick='your_code_here'>title text</div>"]
 ];
 
 
 
 
 
 
 Return to Recent Questions
 
 
 |