Javascript-tool:wdtree

Source: Internet
Author: User

Ylbtech-javascript-tool:wdtree

1. back to top
1, plug-in Description: Wdtree is a lightweight jquery plugin for creating a tree control with nested check boxe

Wdtree is a lightweight jquery plugin for creating a tree control with nested check Boxe . It has the following characteristics:

    • Parent-child node selected
    • Lazy add tree node from database
    • Configurable node properties
    • A huge data tree

This demo loads the performance of a 10,000 node at a time,

You can expand/collapse and examine/uncheked nodes to learn how to respond quickly.

Use steps

Gets the selected node

The following lines show how to get the selected node

$ ("#showchecked"). Click (function(e) {      var s=$ ("#tree"). Getcheckednodes ();       if (s! =null)      alert (S.join (","))      ; Else       alert ("NULL");  });

Get current node

The following lines show how to get the current node

// the following lines show how to get the current node. $ ("#showcurrent"). Click (function(e) {    var s=$ ("#tree"). Getcurrentnode ();     if (s! =null)        alert (s.text)    ; Else         alert ("Current node was nothing");});
2.
2. back to top
3. back to top
4. back to top
1, download WDTREEHTTPS://PAN.BAIDU.COM/S/1_IHTEVIO9D5V7R61WVSDPG2,
5. back to top
1, http://www.jq22.com/jquery-info1712,
6. back to top
Ylbtech
Source: http://ylbtech.cnblogs.com/
This article is copyright to the author and the blog Park, Welcome to reprint, but without the consent of the author must retain this paragraph, and in the article page obvious location to the original link, otherwise reserves the right to pursue legal responsibility.

Javascript-tool:wdtree

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.