Posts by Floyd • 45 points
3 posts
-
1
votes3
answers3838
viewsQ: Validate an HTML form with JAVASCRIPT
What would be a way to validate the text field as soon as the button is clicked? Using only Javascript. Ex: If the field is not completed, and the user to click the button it emits an alert and…
-
2
votes3
answers108
viewsQ: Decrease the lines of code by maintaining the function of getElementByID?
Is there any way to eliminate these numerous lines of code keeping the same function? (the function would be to Keep the content of textarea hidden until the check-box be selected and keep it only…
-
1
votes1
answer35
viewsQ: How to select one radio through another?
Let’s say I have 3 inputs of type 'radio' (A,B,C) and I have two other 'radio' (X,Z) At first the radios X,Z will be disabled and can only be self-selected if the radio B or C are clicked, and if I…