I\'m trying to replace an element\'s inline style tag value. The current element looks like this:
` 8条回答 小蘑菇 (楼主) 2020-12-07 21:02 getElementById("id").removeAttribute("style"); if you are using jQuery then $("#id").removeClass("classname"); 0 讨论(0) 查看其它8个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
getElementById("id").removeAttribute("style");
if you are using jQuery then
$("#id").removeClass("classname");