search

Home  >  Q&A  >  body text

javascript - On the mobile side, click to pop up the mask layer. Just add a breakpoint for debugging, but it won't work without adding a breakpoint.

    $('#clickInquiry').click(function(){
//        console.log($('.shade'))
        $('.shade').show();
//        stop();

    });


If you click without adding a breakpoint, it will not be executed. I don’t know why

PHP中文网PHP中文网2764 days ago908

reply all(2)I'll reply

  • 天蓬老师

    天蓬老师2017-06-10 09:50:48

    Are you sure you won’t execute it without adding a breakpoint? How about trying alert? Is it really not implemented? Or the execution was closed for other reasons.

    reply
    0
  • 为情所困

    为情所困2017-06-10 09:50:48

    I see the id='shade' on your picture, and your selector uses .shade. Is this a problem?

    reply
    0
  • Cancelreply