I want to check if the value true is present in a db and if present i want to hide a partcular id using javascript.
I know both parts - how to check database and hide elements with js.
the question is - how do i integrate both parts?
Ex - Check if in table "Tutorials", the value "true" is present or not. If yes, document.getelementbyid(box).style.display :none;
How do i integrate both? thanks.