[jQuery] Re: autocomplete, extraParams and $(this)

2009-09-29 Thread patrickk
input field. It is the name > > that is going to be sent along with the AJAX request to your script. > > (e.g. /autocomplete_lookup/? > > q=my_search_text_blahablhablah&extra_var=12345) > > > You have to change it so it's: > > 'extra_var': function() { &

[jQuery] autocomplete, extraParams and $(this)

2009-09-26 Thread patrickk
I´m a bit confused, because the following doesn´t seem to work and I have no idea why ... after searching google for a couple of hours and trying different solutions, I´m posting this here and hope that someone can help. $("input.vAutocompleteField").autocomplete('/ autocomplete_lookup/', {

[jQuery] Re: $('div a.class').each ... easiest way to get "div"?

2009-04-03 Thread patrickk
ectors/descendant#ancestordescendant > > On Apr 3, 10:44 am, patrickk wrote: > > > hmm. that´s not what I mean - I thought the ancestor (using a ancestor > > - descendant selector) can be retrieved without using another DOM- > > lookup. > > > On 3 Apr., 16:24, Mo

[jQuery] Re: $('div a.class').each ... easiest way to get "div"?

2009-04-03 Thread patrickk
e's the div >      var $a = $div.find("a");    //Here's the link > > }) > > On Apr 3, 9:56 am, patrickk wrote: > > > when using something like: > > > $('div a').each(function() { > >     // what´s the easiest way to get the "

[jQuery] $('div a.class').each ... easiest way to get "div"?

2009-04-03 Thread patrickk
when using something like: $('div a').each(function() { // what´s the easiest way to get the "DIV" here? } "div" doesn´t need to be a parent of "a". so, I need to know the exact location (DOM-wise) of my links to get the "div". I can somehow remember that there´s an extremely easy way to get

[jQuery] tablesorter: sorting tbodies

2007-12-21 Thread patrickk
is it possible to sort tbodies instead of tr's with the tablesorter- plugin? thanks, patrick

[jQuery] tablesorter: sorting every 2nd row

2007-12-20 Thread patrickk
we have a table where every 2nd table-row provides some detailed information on the row above. structure: main content ... ... subcontent ... and so on ... now, I´d like to sort the table without rearranging the tr's with the class extended. is this possible? if yes, how? anot

[jQuery] columnize large text ...

2007-04-04 Thread patrickk
I´m having a text on my page and I´d like to split that text into 2 (or even 3) columns. I´ve seen this before but I can´t remember where ... any suggestions are appreciated. thanks, patrick