aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Onclick of folder structure should prompt an alert message Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Onclick of folder structure should prompt an alert message " Watch "Onclick of folder structure should prompt an alert message " New topic
Author

Onclick of folder structure should prompt an alert message

Foni kumar
Ranch Hand

Joined: Sep 19, 2007
Posts: 66
Hi experts,

Please find below a code I am trying to use for Lazy Loading in javascript of a dijit tree using REST calls. Now I want to perform one operation in my code snippet. The account folder of tree is the parent and it contains child folders as the transactions.

On click of any of the parent folders or child folders of the tree getting populated by lazy loading, it should prompt a message or an alert saying "Hello". Can someone suggest me how can I achieve it ? Please take a look at the below code and suggest your valuable thoughts. I tried the below function but it didn't work

. On adding this line it is prompting the message as in my code on the tree creation time but I want the message to be prompted at the end of the tree creation and on click of folder in tree.

Below Function for OnClick not working one:



**************************************************************************************************************************
MY TREE CODE
*************************************************************************************************************************


Many thanks!!!>
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Onclick of folder structure should prompt an alert message