javascript - How do I access methods from one JS file from another in a Swift 3 WKWebview project? -


i have loaded external js file dom wkwebview. works fine. trying add functionality javascript library. have tried loading js file , importing method external library it. have tried loading both js files dom adduserscript, , doesn't seem work (specifically prevents code worked running)

i know correct method have both files loaded dom can use methods library in js file. library optimal-select , using single file version optimal-select.js

i have not added code because works without second js file. add code if necessary


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -