Ok, I have this code (I know it's horrific). <td class="ms-sbscopes ms-sbcell"> <select class="ms-sbscopes" title="Search Scope" id="ctl00_PlaceHolderSearchArea_ctl01_SBScopesDDL" name="ctl00$PlaceHolderSearchArea$ctl01$SBScopesDDL"> <option value="This Site">This Site: Hirsch Branding</option> </select> </td>
I want to alter this so the <td class=...> becomes a <div> (I don't need to maintain the classes) and the </td> with a </div> while maintaing the select control. I figured it's done with replaceWith but I can't maintain the select.