I use the jquery numeric plugin to allow only numbers to be typed in some fields.
$("input.numeric").numeric();
I want to disable this function dynamically in some cases, to allow the user to type others characters (i.e. letters). I tryed to use the unbind() or undelegate() functions without success.
Does anyone know the solution ? Thanks
.unbind()? The numeric plugin just seems to bind akeypresshandler to the input, so$("input.numeric").unbind();should remove that (and every other) handler.