javascript - cps internal limitations when binding events to a tag. How to add events externally and introduce them
某草草
某草草 2017-05-19 10:31:00
0
3
450

atag

Added binding event

Error reported

js imported from the page

What I simulated in chrome is correct

Now I don’t know how to bind this event and introduce it

某草草
某草草

reply all(3)
过去多啦不再A梦

The code combined with 1 is imported from outside and placed under the executable directory

習慣沉默
$(function() {
    $(window.document).on('click', '#myFavor', function() {
        OCA...
    });
});
  1. The monitoring code part should be pre-loaded before the event operation.

  2. Check whether there is any synchronization blocking problem in the JS code part.

给我你的怀抱

Put him in front of </body>

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!