jQuery $(document).ready() not firing

后端 未结 3 1696
猫巷女王i
猫巷女王i 2021-02-13 22:06

Using jQuery 1.4.2 from Google hosted Code.

Is there a reason why the following javascript does not fire all 3 document.ready functions when the document is ready?

3条回答
  •  你的背包
    2021-02-13 22:35

    You are missing a }); in the end of the last $(document).ready

    Once you correct this it should work

    EDIT: Since you say now that each script tag is in a separate web part I believe the problem itself is not in the scripts. Something else in your page is messing up your code.

提交回复
热议问题