search

Home  >  Q&A  >  body text

javascript - The live event in jQuery has no effect on the mobile WeChat client; the code is as follows


This code works well on PC and some Android phones, but it has no effect when clicked on some Xiaomi phones (the running environment is in the WeChat subscription account)

PHP中文网PHP中文网2737 days ago828

reply all(3)I'll reply

  • 怪我咯

    怪我咯2017-06-28 09:27:53

    Isn’t live removed after version 1.7? Try changing it to on

    reply
    0
  • 某草草

    某草草2017-06-28 09:27:53

    Try using on, write it like this, now you don’t need to live anymore

    $(wrapper).on(event,target,handle);

    reply
    0
  • ringa_lee

    ringa_lee2017-06-28 09:27:53

    Try using bind

    reply
    0
  • Cancelreply