javascript - Dynamically load JS inside JS

preview_player
Показать описание
#short
#javascript
#jquery
I have a dynamic web page where I need to import an external JS file (under an IF condition) inside another javascript file.
I tried to search for a feasible solution but it didn't work.
Solution in jQuery will also be fine
Рекомендации по теме
Комментарии
Автор

you could basically import within a module, it does the same thing

ban_droid