Hidden attribute in span / span element does not work?

0

Save! I think it's a fairly basic question, but come on. In one of the views of the application a table is mounted and in the rightmost column two elements are included to type span . At last I included the hidden (hidden="hidden") attribute. However the element is shown, as can be seen in the following fiddle - link .

Obviously I do not want to use the span styling feature as I did in the last line of the example table.

What can I do? Thank you for your attention. Paulo Ricardo Ferreira

    
asked by anonymous 02.06.2016 / 19:11

2 answers

0

According to the code you submitted in fillde, your span tag should have something like this:

<span class="glyphicon glyphicon-refresh" style="display:none"></span>

For more details: link

    
02.06.2016 / 19:24
0

You can use this code in Html:

  <span class="glyphicon glyphicon-trash"></span><span class="glyphicon glyphicon-refresh" id = "ak"></span>
  

In Html I created an Id for this span so I could edit it in CSS.

And create a CSS with the code:

 #ak { visibility:hidden }

It will look like this fiddle: link

    
02.06.2016 / 19:23