I have an input box that takes values from 0-100. I want to prevent users from writing anything larger or smaller.
I've been using the jquery keyfilter plugin to limit the input of a field:
http://code.google.com/p/jquery-keyfilter/
This plugin can limit the input to numerals, but not within a range. How do I prevent users from enterin...
I am using jquery-keyfilter plugin to mask textbox inputs.
However the textboxes are added to the page dynamically and I cannot figure out how to apply the key filter to them.
I have tried
$('#myelement').live('keyfilter', myFunction );
Also
$('#myelement').live('keyfilter', /regex/);
Kai: comment helps, but it seems my problem is...
How would I use the keyfilter plugin and allow everything except < and >
http://code.google.com/p/jquery-keyfilter/
...