I am trying to run a simple javascript that needs to fetch an external URL:
When locally - it works great.
When deployed on PythonAnywhere - it doesn't work and it doesn't throw an error.
I have tried wrap a <div> container around it - didn't help
I have tried sanitize True or False it in an XML - didn't help
There was some discussion on this group more than 2 years ago about this - but no conclusion
To make it more interesting...
another kind of javascript widget such as :
again - works locally but not when deployed.
Now comes the rub....
If a widget is in the format of:
It works both locally AND on hosted machine / deployed
It doesn't have any mention of JS...and it is wrapped in <iframe>....
still...interesting bug or I am doing something wrong ?