Hello all,
I’m looking for a function (probably a mouse event) wherein a user clicks on the entry and subsequently a custom drop down box appears (so not this kind: http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_option). When the user clicks on another entry, the first drop down box needs to disappear.
I think this has something to do with a mouse event - I’m using “onclick” but I think I need an “offclick/on another click” function of some sort. Or, this could have something to do with tracking the last clicked entry to know which box to hide. I’m very new to developing so I’m not even 100% sure if HTML is the only way to go about this. I’ve been googling, and it looks like I can do something similar using PHP and/or Javascript.
Any help would be greatly appreciated! Thank you