Get your hands dirty on Javascript :Simple Task

Q -- Simple On click of table cell change the value and revert back after 2 seconds.

Level-Beginner  |   Language-Javascript

=======Think and try it yourself first =======






So finally you came in solution section .
Let's see what we are doing
1.Checking Table is not null
2.we are using two for loop to pass through every element.
3.Now we are triggering onClick event
4.then we use this keyword to access the innerHTML value
5.Then we are using setTimeout function

Comments

This comment has been removed by the author.

Popular posts from this blog

4 Ways to Crack a Facebook Password and How to Protect Yourself from Them

Learn How to Code: 22 Free Online Resources

IDM LIFETIME HACK FREE -- RESET TRIAL