It is perfectly reasonable to do this. I have done this in several applications where client side validation simply isn't sufficient. The only point to note is that you must also validate the data, when the post back occurs in your web form Or a user who disables javaScript will be able to bypass your dataValidation, and this would be bad. VERY VERY Bad; for security reasons.
Leave a Reply
Guest User
Not sure what course is right for you?
Choose the right course for you.
Get the help of our experts and find a course that best suits your needs.
DIVYA
It is perfectly reasonable to do this. I have done this in several applications where client side validation simply isn't sufficient. The only point to note is that you must also validate the data, when the post back occurs in your web form Or a user who disables javaScript will be able to bypass your dataValidation, and this would be bad. VERY VERY Bad; for security reasons.