 Poornima Kotipalli Profile - Hoblist ; else html data.languagei.display ; else html data.languagei.display ; document.getElementByIdpreferedLanuage.innerHTML html; language-modal.modal show: true, backdrop: static, keyboard: false ; function saveLanguage let selectedValues ; preferedLanuage :selected.eachfunction selectedValues.pushthis.val.toString; ; if typeofStorage ! undefined if selectedValues.length 0 localStorage.setItempreferedLanuage, JSON.parseJSON.stringifyselectedValues; else localStorage.removeItempreferedLanuage; let storageLanuage localStorage.getItempreferedLanuage; let token localStorage.getItemcurrentToken; if storageLanuage ! null storageLanuage ! undefined preferedLanuage ; preferedLanuage storageLanuage.split,; else preferedLanuage ; if userDetails.status .ajax type: POST, url: userLanguages, data: languages: preferedLanuage, token: token , success: functiondata window.location.reload; language-modal.modaltoggle; Poornima Kotipalli klpoornima455 