[jQuery] Re: Referencing the target element with clueTip

2007-12-02 Thread Dan M
Karl, Once again, you rock! I was able to build off your suggestion to get what I needed. One question though... You build the AJAX function to show a "waiting" image while the query was being run. Can you make it so that the same happens with the onActivate option? That way if the onActivate f

[jQuery] Re: Referencing the target element with clueTip

2007-12-02 Thread Karl Swedberg
Hi Dan, I'm not sure why you need an ajax function, but here is how you can grab the content of the hovered label and drop it into a hidden div: $('label').cluetip({ local: true, onActivate: function(e) { $('#hidden').html( e.text() ); return e; } })

[jQuery] Re: Referencing the target element with clueTip

2007-12-02 Thread Dan M
Right, but I'm not using another page... I want to use a local div... I'm trying to get it working like this: 1. User hovers over label next to input box. 2. clueTip calls my ajax function (either via the onActivate or ajaxProcess options) passing the mouseover event that triggered clueTip. 3. My

[jQuery] Re: Referencing the target element with clueTip

2007-12-02 Thread [EMAIL PROTECTED]
As documented, by default it uses the rel="Attribute.html". Regards On 2 Dez., 02:31, Dan M <[EMAIL PROTECTED]> wrote: > All, > > If I'm using an ajax solution with clueTip, how can I pass in the > target element so that I can generate dynamic content based on the > element being hovered over? >

[jQuery] Re: Referencing the target element with clueTip

2007-12-02 Thread Dan M
All, Sorry, more details... I use an AJAX framework that is able to get the data I need the way I need it. I can set the innerhtml value equal to the return value and use the "local" option to display the result. The problem is this... The data that is returned depends on what the user is hoveri