This is a migrated thread and some comments may be shown as answers.

[Solved] jquery .data not present when loading via TabStrip

0 Answers 70 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Philip
Top achievements
Rank 1
Philip asked on 23 Mar 2012, 03:19 PM
When loading a Partial containing a Treeview via a Tabstrip, although the client side functionality seems to work there is no jquery .data present, so....

function onNodeDrop(e) {
    alert($('#TreeView').data('tTreeView').getItemText(e.item));
}

will get called ok, but the .data is 'undefined'

.. trying to save re-arranged tree back to DB. so need drop target Id etc
Tags
TreeView
Asked by
Philip
Top achievements
Rank 1
Share this question
or