[jQuery] When DOM elements are created and inserted into the document

2009-06-30 Thread Khai
Hello, I want to be able to run a function every time an element is removed on inserted into the document. How can I do this? Thanks! Khai

[jQuery] Problem with multiple droppables (one on top of the other)

2009-06-28 Thread Khai
I have two DIVs, one is position on top of the other. The bottom DIV is bigger and has no z-index. The top DIV has a z-index=3000. Top DIV must not overlay bottom DIV (area that is not covered by top DIV must be responsive to user actions). Both of these DIVs must be droppable. For my draggab

[jQuery] Help with figuring out the drop target

2009-06-28 Thread Khai
Hello, If each row of a big table was clickable, following best practices, we should not attach a click handler on each row, we should attach a click handler on the container, and in the click handler, figure out which row was clicked. We can do this by examining event.target. The reason for do

[jQuery] Javascript search library

2009-03-04 Thread Khai
I have a collection of DIVs (or a JSON array). Is there a javascript library that can search through a JSON array and return a collection of matched elements, and support advanced search with boolean operator? Thanks Khai