search

Home  >  Q&A  >  body text

javascript - Mobile terminal paste event, onpaste event is invalid in app, how to detect paste event in app

Mobile terminal paste event, onpaste event is invalid in the app. How to monitor the paste event in the app, that is, after pasting the verification code, monitor the paste event. If the value of the text box for filling in the verification code is not empty, the next step The button is clickable. Otherwise, the next button is unclickable. Use onpaste to monitor the paste event, which is valid in both computer and mobile browsers, but when placed in the app, this event is invalid

黄舟黄舟2751 days ago750

reply all(1)I'll reply

  • PHPz

    PHPz2017-05-16 13:25:57

    Try change and input events

    reply
    0
  • Cancelreply