Home  >  Q&A  >  body text

javascript - Problem with page files introduced using load on static pages?

I used load to introduce the shared header file on the static page, but the jquery effect in the header file failed. What happened? Is there a js file imported on the static page?

怪我咯怪我咯2685 days ago767

reply all(1)I'll reply

  • 天蓬老师

    天蓬老师2017-07-05 10:45:46

    The effect of jqurey in the header file seems to be caused by the loading order.

    Load jQuery first and then load your business logic.

    reply
    0
  • Cancelreply