+ 2

Problem with Event>Function>Else>DOM; Please Help!

Can someone tell me why the DOM won't execute in the else statement of my onchange function? https://code.sololearn.com/WR3NIlB3M6tZ/?ref=app

8th Feb 2018, 8:39 PM
Thomas Slack
Thomas Slack - avatar
3 Answers
+ 2
Input tag dose not have a closing tag: <input type="text"> this is the correct way fixed that thank you! however my problem still stands.
8th Feb 2018, 9:28 PM
Thomas Slack
Thomas Slack - avatar
- 1
Input tag dose not have a closing tag: <input type="text"> this is the correct way
8th Feb 2018, 9:25 PM
Muhammad Abdullahi
Muhammad Abdullahi - avatar
- 1
in the JS the southern editor you have to use === instead of ==
9th Feb 2018, 12:39 AM
Muhammad Abdullahi
Muhammad Abdullahi - avatar