V podstatě je tam asi nějaká chyba v javascriptu, kterou neumím odhalit
jvascript je
Code:
<?php
JHtml::_('jquery.ui');
?>
jQuery(document).ready(function(jQ) {
jQ('#amount_slider').slider( {
value: 1,
min: 0, // sets the minimum value
max: 500, // sets the maximum value
step: 10, // sets the step size
slide: calc,
});
function calc(event, ui) {
var amount = parseInt(ui.value);
jQ('#amount').val(amount);
};
});
a konzole v javascriptu napíše:
Code:
Navigated to http://pentagram.8u.cz/index.php?option=com_chronoforms5&chronoform=test
jquery-migrate.min.js:2 JQMIGRATE: Migrate is installed, version 1.4.1
index.php?option=com_chronoforms5&chronoform=test:51 Uncaught TypeError: jQ(...).slider is not a function(…)(anonymous function) @ index.php?option=com_chronoforms5&chronoform=test:51i @ jquery.min.js:2fireWith @ jquery.min.js:2ready @ jquery.min.js:2K @ jquery.min.js:2
pomůže mi prosím někdo najít chybu?