1 <div class="apiDetail">
\r
3 <h2><span>String</span><span class="path">setting.async.</span>dataType</h2>
\r
4 <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
\r
7 <div class="longdesc">
\r
8 <p>The data type of Ajax. It is valid when <span class="highlight_red">[setting.async.enable = true]</span></p>
\r
9 <p>Default:"text"</p>
\r
12 <h3>String Format</h3>
\r
14 <p> dataType = "text", It can meet most of the needs.</p>
\r
15 <p class="highlight_red">The 'dataType' in zTree and jQuery's ajax is same.</p>
\r
17 <h3>Examples of setting</h3>
\r
18 <h4>1. Set the dataType which ajax got is text.</h4>
\r
19 <pre xmlns=""><code>var setting = {
\r
23 url: "http://host/getNode.php",
\r
24 autoParam: ["id", "name"]
\r