Skip to content
Advertisement

How to hide a div if a value from db matches – Laravel

I want to hide a <div> element if the value is_admin === "0" in table admins.

Here is my Controller Code

JavaScript

I want to hide this div if is_admin === "0"

JavaScript

Advertisement

Answer

JavaScript
User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement