Home  >  Article  >  Web Front-end  >  Simple application of jstree under jquery - v1.0_jquery

Simple application of jstree under jquery - v1.0_jquery

WBOY
WBOYOriginal
2016-05-16 18:07:42944browse

The first article, the specific use has been a long time, and the code is posted directly:
1. The json data format is used in the code (it is assembled directly in the page, not in the background, the specific method: function _callBack(d) ) 2. Provide right-click menu and function implementation
3. With checkbox, provide method to obtain selected node ID: function getMenuIds()

Copy code The code is as follows:







border="5px">









退出





style='width: 98%; height: 698px; padding-top: 10px; padding-left: 10px;padding-right: -10px;'>




Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn