[jQuery] Help Add variable to jquery file tree

[jQuery] Help Add variable to jquery file tree


I'm using jquery file tree plugin and my document head goes like this:
<script type="text/javascript">
            $(document).ready( function() {
                $('#fileTreeDemo_3').fileTree({ root: 'download/', script:
'conector.php' }, function(file) {
                    alert('right click and save as...');
                });
            });
        </script>
On my html i have a table that contains the folowing
<td id="cbfv_55" class="fieldCell">.....</td>
Now I want to have a variable instead of (root: 'download/') i would
like to pass the value that comes from
$("td #cbfv_55").text();
Is this possible?? how can this be achieved.
Many tanks
















    • Topic Participants

    • info