Hi,
I want to validate a form. In which i need to validate if user entered text where number is required. i come to know about isNaN () method. but it will validate floating numbers also and i want integers only. moreover how can i enable a text input only when checkbox is enabled
what i did was ( for number validation)
Paddy Joshi wrote:how can i enable a text input only when checkbox is enabled
On click of the checkbox, call one function, based on the value you get from checkbox(whether its checked or unchecked), enable/disable a text box. What difficulty are you facing here?