remove attribute display:none; so the item will be visible

后端 未结 6 1850
闹比i
闹比i 2020-12-29 01:18

The element is:

span    {
    position:absolute;
    float:left;
    height:80px;
    width:150px;
    top:210px;
    left:320px;

    background-color:yello         


        
6条回答
  •  星月不相逢
    2020-12-29 02:04

    You should remove "style" attribute instead of "display" property :

    $("span").removeAttr("style");
    

提交回复
热议问题