ciupaz wrote: > I'd like a sort of validation that when the user insert a DN number > greater than 40, the checkbox "external" will be automatically > selected (without change it). > Hi Luigi,
First of all I am no jQuery expert, but what I would do is create an event handler (keydown, http://docs.jquery.com/Events/keydown) and create a function that checks the lenght of the text. If greater than 40, check the checkbox like so: $('#checkboxid').attr('checked', true); Good luck, -- Jeroen