[jQuery] Re: textarea maxlength plugin not working for textareas loaded via ajax

2009-11-15 Thread Konstantin K
Ok, through sheer genuis (just kidding), I figured it out... when the form is *successfully* loaded via ajax, simply call the function for the maxlength plugin again: $("textarea.limited").maxlength({ "feedback":".charsLeft" }); Konstantin On Nov 15, 9:36 pm, Konstantin K wrote: > Hey guys, > >

[jQuery] Re: textarea maxlength plugin

2007-08-01 Thread bdee1
that did the trick - thanks! spinnach wrote: > > > this could be related to the issue i was having with maxlength, try > changing the source code to $("[EMAIL PROTECTED]") (with a capitol > L), and this.getAttribute('maxLength') .. > > dennis. > > bdee1 wrote: >> >> i have not tried it wi

[jQuery] Re: textarea maxlength plugin

2007-08-01 Thread spinnach
this could be related to the issue i was having with maxlength, try changing the source code to $("[EMAIL PROTECTED]") (with a capitol L), and this.getAttribute('maxLength') .. dennis. bdee1 wrote: i have not tried it with an older version of jquery yet but i tried using IE7 and the latest

[jQuery] Re: textarea maxlength plugin

2007-08-01 Thread bdee1
i have not tried it with an older version of jquery yet but i tried using IE7 and the latest version of firefox. the demo page on your site does work in both browsers but when i uploaded the example page to my site it did not work on textareas. Burobjorn wrote: > > > Thats strange, could you

[jQuery] Re: textarea maxlength plugin

2007-08-01 Thread Burobjorn
Thats strange, could you try to use it with the older included jQuery version? Do you get an error? Which browser are you using? Does it work in the demo? grtz BjornW thanks - thats exactly what i had in mind - downloaded it and tried it and it works well for text fields but for soem rea

[jQuery] Re: textarea maxlength plugin

2007-07-31 Thread bdee1
thanks - thats exactly what i had in mind - downloaded it and tried it and it works well for text fields but for soem reason it does nto work on textareas. any ideas? i am using jquery 1.1.3.1 Burobjorn wrote: > > > Yes, I have created such a plugin. Its still in alpha, but do check it > o

[jQuery] Re: textarea maxlength plugin

2007-07-31 Thread Burobjorn
Yes, I have created such a plugin. Its still in alpha, but do check it out: http://www.burobjorn.nl/code/textlimiter/ All the best, grtz BjornW bdee1 wrote: does anyone know of a jquery plugin that would allow me to set a maxlength attribute on a textarea?