HOw to install JHipster ( Latest Version )

Quick setup

  1. Install Java 11. We recommend you use AdoptOpenJDK builds, as they are open source and free.
  2. Install Node.js from the Node.js website (please use an LTS 64-bit version, non-LTS versions are not supported)
  3. Install JHipster: npm install -g generator-jhipster
  4. (optional) If you want to use a module or a blueprint (for instance from the JHipster Marketplace), install Yeomannpm install -g yo

Ref :: https://www.jhipster.tech/installation/


How to install JHipster Old Version
npm install -g generator-jhipster@5.2.1


Uninstall JHipster 
whereis jhipster
sudo rm -rf /opt/node-v10.16.0-linux-x64/bin/jhipster


JQuery multiselect – Set a value as selected in the multiselect dropdown

To Select
i = 0, size = allergies.length; 
for(i; i < size; i++){ $("#allergies").multiselect("widget").find(":checkbox[value='"+allergies[i]+"']").attr("checked","checked"); 
$("#allergies option[value='" + allergies[i] + "']").attr("selected", 1); 
$("#allergies").multiselect("refresh"); }

To UnSelect