Why does my code in a script element not run?

☆樱花仙子☆ 提交于 2019-12-02 11:58:19
Satpal

script elements can have a src attribute or content, but not both. If they have both, the content is ignored (the content is considered "script documentation," not code).

Use another script block for your document-ready handler

<script src="http://code.jquery.com/jquery-latest.js">
</script>
<script>
    $(document).ready(myBookings);
</script>
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!