Why is $(document).ready not firing for me?

后端 未结 12 1647
后悔当初
后悔当初 2020-12-10 00:26

In a php file i have used include to include the following js.php file and prior to that i have included the jquery file.



        
12条回答
  •  感动是毒
    2020-12-10 01:28

    Another point to check: Maybe you have a PHP error in your program. A PHP Fatal error exits the script and $(document).ready will never be executed.

    Depending on your server settings or on your CSS you might not see the Fatal error message.

提交回复
热议问题