I want to change the property of inpected code

```
<li id="SR_R1_tab" class="t-Tabs-item a-Tabs-selected is-active" aria-controls="SR_R1" role="tab" aria-selected="false">
  <a class="t-Tabs-link" href="#SR_R1" role="presentation" tabindex="-1">
    <span>1<span>
  </a>
</li>

<div id="SR_R1" class="a-Tabs-panel a-Tabs-before" data-label="1" role="tabpanel" aria-labelledby="SR_R1_tab" aria-hidden="true" style="display: block;" >

```

into

```
<li id="SR_R1_tab" class="t-Tabs-item a-Tabs-before a-Tabs-selected is-active" aria-controls="SR_R1" role="tab" aria-selected="true"> 
<a class="t-Tabs-link" href="#SR_R1" role="presentation" >
    <span>1<span>
  </a>
</li>

<div id="SR_R1"  class="a-Tabs-panel a-Tabs-before a-Tabs-element-selected" data-label="1" role="tabpanel" aria-labelledby="SR_R1_tab" aria-hidden="false" style="display: block;" >

```

using js function or jquery. I am using oracle apex. I have less knowledge in jquery and js . How can I do this?