 Online: 23052
 Online: 23052
                
            To remove an attribute from the html element, removeAttr() can be used.
<script>
      $("#div4").removeAttr("style");
  </script>
Above code snippet will remove the style attribute from html element whose id is “div4”.
Views: 6488 | Post Order: 36