jquery monitor the text change
Uncategorized
|
|
13 views
|
2024-01-30 09:47:32
jquery
$(".sort38").on("DOMSubtreeModified", function () {
let v = $(this).text();
if(v.indexOf("早搏") > -1) {
console.log("zb");
$(".whenzb").hide();
} else {
$(".whenzb").show();
}
});
No comments yet. Be the first to comment!