jquery monitor the text change

$(".sort38").on("DOMSubtreeModified", function () {
            let v = $(this).text();
            if(v.indexOf("早搏") > -1) {
                console.log("zb");
                $(".whenzb").hide();
            } else {
                $(".whenzb").show();
            }
        });
« Back to Home

Comments (0)

No comments yet. Be the first to comment!

Leave a Comment