1 <div class="apiDetail">
\r
3 <h2><span>String</span><span class="path">treeNode.</span>target</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>Used to set the target where the node is clicked to open url. It is valid when <span class="highlight_red">[treeNode.url exists]</span></p>
\r
9 <p>Default: undefined</p>
\r
12 <h3>String Format</h3>
\r
14 <p>As same as <a> tag's 'target' attribute. e.g. '_blank', '_self' or other window name.</p>
\r
15 <p>if this attribute is omitted, zTree default set it to '_blank'</p>
\r
17 <h3>Exmaples of treeNode</h3>
\r
18 <h4>1. Set target is '_blank'</h4>
\r
19 <pre xmlns=""><code>var nodes = [
\r
20 { "id":1, "name":"test1", "url":"http://myTest.com", "target":"_blank"},
\r