cwele
Junior Member
Posts: 4
Registered: 9/6/2004
Member Is Offline
|
| posted on 5/11/2005 at 10:02 AM |
|
|
openItemByCaption problem: o_item.o_root has no properties ???
(Tree menu PRO v 1.2)
-Im trying to call openItemByCaption() function, in the following way:
<INPUT TYPE="button" VALUE="FindItem" onClick="openItemByCaption('Test')">
- And here is javaScript error:
Error: o_item.o_root has no properties
Source File: http://localhost:8080/demoApp/event_handlers.js
Line: 51 :
a_index = o_item.o_root.a_index,
-What I should to do, in order to avoid this problem ?
|
|
|
rock
Moderator
Posts: 687
Registered: 4/15/2003
Member Is Offline
|
| posted on 5/12/2005 at 12:36 PM |
|
|
You are using old version of function 'openItemByCaption' published for versions lower then v1.2. In v1.2 find_item method returns an array of items
found, while earlier versions return only first item found.
Please update your openItemByCaption function at the Tigra Tree Menu PRO documentation page.
|
|
|