Hello everyone. I've got a form with 2 radio buttons(Yes, No) and an <input type="file">. Is there a way to make that if the Yes radio button is selected, the input cannot be empty? Since the value attribute does not work with the input type="file" and that's I use the value...
Hi everyone. I have a function that is called by both the onClick event and the onMouseOut event. I would like to know if it's possible to know from inside the function wich event called it. Thanks in advance.
Hello. I need to validate a date in a form using the onblur event. The date needs to be in the mm/dd/yy format.
Here is the code wich would call the function.
<input type="text" name="txtDate" onblur="return checkDate(this.form.txtDate.value)">
I have tried...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.