Passing Variable from pop.js to content.js | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Passing Variable from pop.js to content.js

I am trying to send data from input field in popup.html to the content.js using the chrome message API but it's not working.. Any Solution?

12th May 2020, 10:24 PM
Hassan Raza
Hassan Raza - avatar
1 Answer
0
You may use export/import features (ES6)
1st Jun 2020, 6:15 PM
Kairat Santashbekov
Kairat Santashbekov - avatar