recherche

Maison  >  Questions et réponses  >  le corps du texte

javascript - JS中关于创建回调函数的问题

大家帮我看看这个怎么把window.btn = true;写成init的回调函数呢

PHP中文网PHP中文网2897 Il y a quelques jours195

répondre à tous(1)je répondrai

  • PHP中文网

    PHP中文网2017-04-10 17:08:41

    window.btn = function () {
        return true;
    };

    这样?

    répondre
    0
  • Annulerrépondre