[jQuery] Re: Need to attach .click() event to HTML anchor link but it won't stop bubbling...

2007-05-04 Thread summea
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 ...

[jQuery] Re: Need to attach .click() event to HTML anchor link but it won't stop bubbling...

2007-05-04 Thread summea
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

[jQuery] Need to attach .click() event to HTML anchor link but it won't stop bubbling...

2007-05-04 Thread summea
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

[jQuery] .load callback and unwanted .click(s)

2007-05-03 Thread summea
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

[jQuery] Re: Evaulating script tags when .load-ing HTML

2007-05-03 Thread summea
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

[jQuery] Re: .load() callback and hide, show DIV problem

2007-05-03 Thread summea
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

[jQuery] Re: .load() callback and hide, show DIV problem

2007-05-03 Thread summea
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.

[jQuery] .load() callback and hide, show DIV problem

2007-05-02 Thread summea
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