[jQuery] Re: clueTip with dynamic ajax parameter

2009-06-29 Thread Kristian
After several days, I finally came upon the solution! By using the id I already had collected I could call the cluetip function using the dynamic id parameter instead of the .helptext class $(document).ready(function() { $(".helptext").each(function() { var helptext_id = $(this).attr(

[jQuery] clueTip with dynamic ajax parameter

2009-06-26 Thread Kristian
I'm modifying sgrover's dynamic example from http://grover.open2space.com/node/191, but can't get past the problem with having to trigger the mouseover/ hover event twice to get the correct text to show. Any ideas? $(document).ready(function() { $(".helptext").hover(function() { var

[jQuery] Removing dynamically inserted html

2009-06-04 Thread kristian
I'm trying to dynamically create and remove items from a list, it works just fine... sort of, I can remove items, and create items, but once an item has been created, I cannot remove it again, but I can remove the items present when the page loads. Here is my code Remo

[jQuery] Solution: extended nextUntil to wrap multiple sibling elements inside a common container element :)

2009-05-04 Thread Kristian
jQuery.fn.nextUntil = function(expr, includes){ var match = []; includeFirst = includes.first ? true : false; includeLast = includes.last ? true : false; // We need to figure out which elements to push onto the ar

[jQuery] Re: Wrapping p siblings following h1 in divs

2009-05-04 Thread Kristian
I needed the same solution. Been stuck for hours trying to solve this... I really hope this get added to the standard manipulators in a next release and gets documented too ;) On 16 Apr., 23:14, Claes H wrote: > On Thu, Mar 26, 2009 at 4:01 AM, Ricardo wrote: > > > jQuery.fn.nextUntil = functio

[jQuery] Surrounding pairs of label+input with a div?

2009-05-04 Thread Kristian
and apply a wrapAll(') But how exactly do I do this using jQuery manipulators? Kristian