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.
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?