I’ve release version Input Limiter 1.2.1 which fixes a small bug. The bug had to do with dynamically changing the limit on an input, when you changed the limit to a longer limit the previous (shorter) limit stayed attached to the input.
-
About Me
I am a Web Developer with over 15 years of experience developing web applications.
If you like what I'm doing feel free to send me a donation:
-
Projects
-
Archives
3 Comments
Hi, I have an error when trying to initilize the plugin.
I have an “Object is required” when I try to execute this: $(‘#txtLaboratorio’).inputlimiter…
//This is the initilizar:
$(document).ready(function() {
// Default
$(‘#txtLaboratorio’).inputlimiter({
limit: 8000,
remText: ‘%n caractere%s restantes.’,
limitText: ‘Campo limitado a %n caractere%s.’
});
})
The JQuery script and your scripts was executed ok previusly to this error.
Do you have any idea?
I did a quick test with the exact code and it seems to work fine. I’m guessing it’s some other code that’s interacting with the limiter.
I have this problem in a form that is displayed with a ShowModalDialog method. Maybe this clue helps you tu find the solution.
I can not spend more time trying to make it work for the project I’m working on. But, I think it’s an excellent project and probably will use it later.
Thanks.