jquery - Cannot remove a class hidden by JavaScript -


I would like to hide a div when it is loaded and when a button is clicked, what do I get Div only shows for a short time and then hides it whether I am doing it correctly with the CSS class or what display: none; ?

HTML
  & Lt; Div id = "message" & gt; & Lt; Div class = "hide item-user" & gt; & Lt; A href = "" & gt; Some & lt; / A & gt; & Lt; / Div & gt; & Lt; One class = "btn-user" href = "" & gt; Button & lt; / A & gt; & Lt; / Div & gt;   


CSS
  .hid {display: none; }   


JS

Comments

Popular posts from this blog

python - how we can use ajax() in views.py in django? -

matlab - Using loops to get multiple values into a cell -

python - Sequence Pattern recognition with Pybrain -