Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Use the JqueryUpdate, jquery v1.7, it adds a link to the file within the header, perfect.
However hen I use a simple javascript does not work.
Example in a block:
$ (document) .ready (function () {
$ ("a"). click (function (event) {
$ ("# block-views") addClass ("display-block.");
});
});
Or .info:
scripts [] = js / script.js
If we apply the same link jquery and put together to block the script works. Anyone know why this happens?
Comments
Comment #1
markhalliwellAmbiguous jQuery questions and issues that do not pertain to the actual module will be marked as “Closed (won’t fix)". Please try looking or asking here: http://drupal.stackexchange.com/search?q=jquery_update