在扩展名中包含JS文件

时间:2019-01-17 12:56:06

标签: typo3 extbase

无法在我的扩展程序中获取引导程序datetimepicker.full.js。 我已经尝试了以下代码:

List.html

    <head>
        <script src="jhttps://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js">
        </script>
        <script src="jquery.datetimepicker.full.js"></script>
        <script src="{f:uri.resource(path:'JS/datetimepicker.full.js')}"></script>
        <script>$("#datetimepicker").datetimepicker();</script>
    </head>
    <f:section name="content">
        <input type="text" id="datetimepicker"/>            ..

setup.ts

page.includeJS.HsRoombooking = EXT:hs_roombooking/Resources/Public/JS/jquery.datetimepicker.full.js

您能建议缺少什么吗?

0 个答案:

没有答案