How to enable jQuery in Drupal?
To install JQuery in Drupal, follow these steps carefully:
- Start with downloading the jquery_ui Drupal module by using the stable version available (6.x-1.5). Now, move it to your modules folder (e.g. sites/all/modules/jquery_ui)
- Now, go to the jQuery UI and then download the "Legacy" 1.7.x version. Not the 1.8.x version or any other later branch!
- After completing the above step, inside a temporary directory, extract the directory "development-bundle" collected from the archive and finally rename it to "jquery.ui".
- After renaming, start copying the renamed directory, (jquery.ui) into the sites/all/libraries folder (create a separate folder like this if it should look like sites/all/libraries/jquery.ui.)
- Finally activate the jquery_ui module in Drupal version 8.
BY Best Interview Question ON 12 May 2020