mardi 4 août 2015

how can check by console when a specific class is removed from my DOM?

i have a class disabled in my code, but that class is removed from DOM when i refresh the page.

i have no idea how to check that , the js it's so big so i dont wanna touch and broke something.

so what is happen when i check my DOM i see:

class="btn-color rank"

on my html i inserted disabled but always after load the page the disable class is removed.

class="btn-color rank disabled"

the funniest part is : if i insert a div bellow of that one with the class disable, both will be have the class disable.

i wanna know when the class disable is removed from DOM, someone know can i check that by console?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire