0

whats is the use of hidden and none ?

if we dont want to show that element then why we will insert in it?

4th Oct 2016, 3:45 PM
rupali magar
rupali magar - avatar
2 Answers
+ 1
For example: when inserting a correct e-mail in a form with JavaScript DOM, the div "error" is default hidden, but if there's a wrong e-mail, JavaScript DOM will change the element's visibility ans show the error.
4th Oct 2016, 7:16 PM
Scotti
Scotti - avatar
0
This function is very useful when tou use JavaScript DOM. JavaScript will do the functions, such as show that div and show something :)
4th Oct 2016, 7:14 PM
Scotti
Scotti - avatar