![]() I've changed style.display = '' to style.display = 'block'.I've properly closed the tag you were inserting.I've added braces for every if statement so it absolutely clear which statements are part of the if/else and which are not.The if statement was changed into an if/else which is a lot more efficient and more self-documenting as to what you're doing.I've added var declarations to your variables (a good habit to always use). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |