This content has been marked as final. Show 3 replies
anyone advise me in this issue
Take a look at my tree example application.
When you select a node, a details report is refreshed. That should help you implement it for your situation.
One thing to note though is the link on each node you have. Clicking a node will redirect to the same page and set the value of P40_SELECTED_NODE. You can keep the item, but the link will have to go, as that is the one "reloading" the page each time you click a node. Implementing the tree "onselect" action and setting the page item to the node value will do that instead. Don't forget to add the page item to the items to submit in the tabular form.
The reason why your selector didn't return the correct value is because you have a click event bound to the anchor tag in each list item. The anchor tag does not hold the actual value (usually and id), but only holds the display value. The list item elements contain the actual value in their "id" attribute. Thus, to get that value you'd always need to inspect the first parent of the clicked anchor tag. (which is another way of solving it, of course)
Thank you my friend,very creative example