+ 4

Java script purposes ?

so guys I am new on java script and I am learning it so guys tell me after using the java script selector to select elements what interesting things can I do infront of the selector for eg document.getElementById.innerHTML("which things can I input here or do that is very interesting)

3rd Mar 2018, 3:15 PM
ramoholokhathu
ramoholokhathu - avatar
4 Antworten
+ 4
After selecting the elements , you can 1. change its properties. 2.get or change the value inside it. 3.create its child node. 4.delete its child node. 5.delete that element itself.
3rd Mar 2018, 3:32 PM
cHiRaG GhOsH
cHiRaG GhOsH - avatar
3rd Mar 2018, 3:36 PM
cHiRaG GhOsH
cHiRaG GhOsH - avatar
+ 4
The most important reason we select elements is changing its style properties.also we can append or remove a child to it,cgange it's inner text e.t.c
3rd Mar 2018, 4:13 PM
᠌᠌Code X
᠌᠌Code X - avatar
+ 3
thank you but I still need a link that can demonstrate the in a form of GUI
3rd Mar 2018, 3:34 PM
ramoholokhathu
ramoholokhathu - avatar