title: How to remove all Attributes by attribute name starts with
body: <p>I would like to remove all the attributes that attribute name starts with 'data-val' in the fields that has a class 'read-only-state'</p>
  
  <pre><code> jQuery("[data-val^='tr']" )  
  </code></pre>
  
  <p>This will give attribute 'data-val' value that starts with 'tr'</p>
  
  <blockquote>
    <p>But i need to <strong>remove all the attributes that starts with
    'data-val'</strong> in the matched elements.</p>
  </blockquote>
  
  <p>How can i do it?</p>