SyntaxFix
Write A Post
Hire A Developer
Questions
You should remove "style" attribute instead of "display" property :
$("span").removeAttr("style");