using jquery/javascript to get node text
<p>i am doing this:</p>

<pre><code> if ($(this).prop('checked')) {
                var checkText = $(this).next('a').text();
</code></pre>

<p>to get the node text of one of the nodes in my treeview</p>

<p>here is the HTML source:</p>

<pre><code>&lt;a class="TreeView1_0" href="javascript:__doPostBack('TreeView1','sPreAnalytical\\Labels\\GoodStuff')" onclick="TreeView_SelectNode(TreeView1_Data, this,'TreeView1t2');" id="TreeView1t2"&gt;Specimen collection device mislabeled/unlabeled by practice&lt;/a&gt;
</code></pre>

<p>the jquery line above returns:</p>

<pre><code>Specimen collection device mislabeled/unlabeled by practice
</code></pre>

<p>however i need to return:</p>

<pre><code>GoodStuff
</code></pre>

<p>how do i do it?</p>

<p>please note that i do not always have <code>\\Labels\\</code> in the text</p>

<p>what DOES stay constant is this: <code>href="javascript:__doPostBack('</code></p>

<p>if it's much simpler i am even happy returning this:</p>

<pre><code>javascript:__doPostBack('TreeView1','sPreAnalytical\\Labels\\GoodStuff')
</code></pre>
