I'm a bit new to DOM [please bare with me] and what I want remove some html as I don't actually have access to the HTML file. This is because it is a CMS so would it be possible to manipulate code via DOM?
Here is a code sample I have just written, how do I remove the frmMain [first form tag] but keep second from tag via DOM?
I know you cannot nest a <form> within a <form>.
<form id="frmMain" >
<form class="second-form"></form>
</form>