[jQuery] called ajaxComplete only on specific div

2009-08-14 Thread dreame4
? Thanks for help. -- dreame4

[jQuery] Re: textarea chars counter

2009-06-13 Thread dreame4
If someone gets here at any time, the solution is http://stackoverflow.com/questions/686995/jquery-catch-paste-input On Jun 12, 2:43 pm, dreame4 91drea...@gmail.com wrote: Thanks for your accurate remark. I came up with adding some event but I don't know which. Focus doesn't work as I want

[jQuery] textarea chars counter

2009-06-12 Thread dreame4
Hi, I need to count characters in textarea so I wrote sth like this: $input.keyup(function() { var new_length = $(this).val().length; $word_counter.text(new_length); if(new_length = min new_length = max) { $word_counter.addClass('git'); } else {

[jQuery] Re: textarea chars counter

2009-06-12 Thread dreame4
 (focus would come to mind) On Jun 12, 7:40 am, dreame4 91drea...@gmail.com wrote: Hi, I need to count characters in textarea so I wrote sth like this: $input.keyup(function() {         var new_length = $(this).val().length;         $word_counter.text(new_length);         if(new_length

[jQuery] prepend() and add events to prepended elements

2009-04-08 Thread dreame4
Hi, I have such a piece of code: $('body').prepend('div id=lightboxdiv class=lb-displaydiv class=lb-bgdiv class=header no-bg sidh2 class=headerEmbed Code/h2a href=# class=popupExitexit/a/div/div/div/ div'); Then I would like to add a click event to a.popupExit but it doesn't work correctly.

[jQuery] Problem with animate callback

2009-01-26 Thread dreame4
!); return false; }); } Unfortunately it doesn't work. If I insert this link outside animate callback it's ok. Anyone can help? With regards, dreame4

[jQuery] Problem with animate callback

2009-01-26 Thread dreame4
() { alert(Display me!); return false; }); } If I insert this link outside animate callback everything is ok. So, I'm doing sth wrong or it's jquery bug/behavior? And I use jQ 1.3.1. With regards, dreame4