Problema ao conectar JS
Olá, ao verificar o código-fonte vê-se que os scripts são incluídos, mas nas páginas eles não são executados.
Este é o conteúdo do arquivo script.js
/**
* @file
* A JavaScript file for the theme.
*
* In order for this JavaScript to be loaded on pages, see the instructions in
* the README.txt next to this file.
*/
// JavaScript should be made compatible with libraries other than jQuery by
// wrapping it with an "anonymous closure". See:
// - http://drupal.org/node/1446420
// - http://www.adequatelygood.com/2010/3/JavaScript-Module-Pattern-In-Depth
(function ($, Drupal, window, document, undefined) {
$(document).raedy(function() {
$('#widget_pager_bottom_nashi_raboty_slide-block').jcarousel();
});
})(jQuery, Drupal, this, this.document);
(function ($){
$(document).raedy(function() {
$('#webform-client-form-13 #edit-submitted-typ,#webform-client-form-13 .webform-component-radios input').bind('click change', function(){
alert('test');
});
});
})(jQuery);
- Efetue login para postar comentários