Home - Forums-.NET - FlyTreeView (ASP.NET) - Creating Dynamic Alert with javascript

FlyTreeView (ASP.NET)

Technical support and KB related to the FlyTreeView control

This forum related to following products: FlyTreeView for ASP.NET

Creating Dynamic Alert with javascript
Link Posted: 31-Mar-2006 13:55
Hello,
I need a way to use javascript to get the text of the node so it will appear in a Alertbox.
I want to delete nodes, so I create a contextmenu with a delete option, and when I click delete, I want a javascript alert to pop up asking them \"Do you wish to delete ?\" I don't know how to make the node text appear using javascript.
Any good pointers for how to use javascript with the menu's and the tree, or good references would be helpful.
Thanks
Link Posted: 03-Apr-2006 07:38
Probably you should simply use the node.Text property when displaying alert using the Javascript handler.