I ended up turning this into one function, and it seems to work as far
as I have tested.
All I had to do was do this for the first part of the folder bind
function:
bindToFolder = function(specific){
$(specific).find('a').bind('click', function(evt){
// do stuff ...
I guess what the problem is... is the fact that I'm trying to rebind
this click event to the whole .myTree ... and I really just need to be
doing that for the initial time. Then for every folder I open, it
should only bind the click event to that folder.
I can do that with two functions; is ther
I've been asking about the same problem (and still searching (in
vain?) for an answer to the question here on the jQuery group...).
I have a click function that I bind to each folder link in an
imaginary file manager script. The problem is still, when I click on
one folder and it displays its co
Andy
On May 3, 11:49 am, summea <[EMAIL PROTECTED]> wrote:
> I'm still working on this problem, (and I have poured over the jQuery
> group trying to find any answers,) and I'm realizing that maybe it's
> not thecallback'sfault.
>
> I'm thinking i
This is from the API docs...
load( url, params, callback )
Load HTML from a remote file and inject it into the DOM.
Note: Avoid using this to load scripts, instead use $.getScript. IE
strips script tags when there aren't any other characters in front of
it.
So you might need to use $.getScrip
I'm still working on this problem, (and I have poured over the jQuery
group trying to find any answers,) and I'm realizing that maybe it's
not the callback's fault.
I'm thinking it might be more of a problem with (not only me,) but the
fact that when you click on any folder in the file tree, the
Is there something about using .click with a callback that I don't
know?
Everytime do a click on a target, the callback is called increasingly
multiple times thereafter.
Hi,
I've been working for the past few days or more on a simple file
manager that uses PHP and jQuery. Basically, where I'm at: I'm able
to list all files in a starting directory. When a user clicks on a
folder, it opens the clicked folder and lists all files in that
directory and so on.
I am
8 matches
Mail list logo