Change of div via JavaScript

0

Good afternoon, folks,

I am not able to solve a problem with Javascript, I am still very lazy on the subject but would like your help.

I have this field in the site

Ineedtocreateafieldabovethemwiththesamedegreeoptioninbotheyes,Iwasabletoinsertaninputabovethemwiththeprepend,howeverIhavenoideahowtomakethelefteyedivdisappearandtakeadvantageoftherighteyedivtoselectthetwodegrees.Iusedthiscodetoinserttheinput:

$('.colunaProduto.prodVariante').prepend('\<divclass="mesmo-grau">\
        <input type="checkbox" name="mesmoGrau" id="mesmoGrau">\
        <label for="mesmoGrau">Mesmo grau nos dois olhos<label>\
    </div>'
);

Does anyone have any idea what I can do for this type of change without having to access the code?

    
asked by anonymous 05.04.2018 / 19:52

0 answers