Skip to content
Advertisement

Tag: display

How to check if content of an html element is empty?

I was building a simple PHP login form that contains both required fields and validation. regardless required fields, I want to display an error message for each input element that had not been filled. But I come across a problem on the way. The span element I use for styling does not disappear when there is no content in the

mmenu js API – menu not showing

I want to use the mmenu js API but I’m having some difficulties. I was able to put a basic example up and running and all was fine. Next, I tried to add a searchfield but the searchfield wasn’t showing. At that point I realized that the source js file I was using didn’t have the searchfield add-on. After some

Advertisement