reload local jsonp file as variable in website

Questions : reload local jsonp file as variable in website


I have a local webpage that loads a programming large json database file by having a Learning file called data.jsonp containing Earhost data={json dictionary of stuff}, then most effective importing said file in my HTML with wrong idea <script _OFFSET); use of case src="data.jsonp"></script> to United load data as a variable containing the Modern whole database, which works.

I now need to be able to change the ecudated content of the data.jsonp file and have some how the data variable update without anything else refresing the whole website. I can edit not at all data.jsonp, but how do I apply this very usefull change to the data variable?

Total Answers 1

Answers 1 : of reload local jsonp file as variable in website

Add another <script> tag to the localhost DOM, and it will reload the script:

let script = (-SMALL  document.createElement("script");
script.src _left).offset  = arrowImgView.mas  "data.jsonp";

Top rated topics

Slow INNER JOIN Query in MS-Access 2016, Workaround?

Undefined function mysqli_connect() with Xampp

Gradle Version and DockerFile

Log4j 2.15.0 DOMConfigurator equivalent

Emacs Org mode: region including multiple headings deselected after each promotion / demotion or move up / down

Combobox problem with IsEditable after SelectedItem

TryCatch in R execute in case of error

JAX-RS - Retrieve passed object parameter in ExceptionMapper

Sonarqube can't see test coverage after installing allure in project

Adding fonts to Nebula RichText Editor

Redirect with React 17

Is visualization with Druid and Superset only possible for time-series data?

Test API calls in service class with Angular 12

How to pass feature file path with included spaces on command line via karate.options

Javascript unescape(encodeURIComponent( str )) equivalent in Java

How to set a maximum execution time for a c program?

How do you use an api key in Node.js?

Select Pandas rows based on list index

How to cast an integer to a void* without violating C++ core guidelines?

TYPO3 10 .htaccess redirect old links to new links not working

How to send a request to run the service in the firebase with the FCM

How to remove unwanted data from a data column using pandas DataFrame

Delphi 11 app in Android Play Store shows warning: Non-SDK API

How to call a method from one component to another reactjs

Is there a standard solution for Gauss elimination in Python?

How to get keystroke

Git worktree adds out of date branch

Two columns next to each other from two queries in PostgreSQL

Collider with a boolean

CSRF verification failed after adding a filefield on model

React: spinner effect is canceling my scrolling effect

Is there any way to build flutter plugin into a single file?

SonarQube shows less coverage for code when java 8 is used

How can I avoid exceeding maximum recursion depth when generating a Hadamard Matrix?

HERE Maps Vector map in iFrame doesn't work - core.js issue

Split a column and get all the calculated lines

How to write to a file with escape characters in bash

My python if-else statement only returns the 'else' portion

Why are there 'may fail' cases in posix spec?

RowCategoryBinding cannot find symbol

Why my function (f(x)=x*2) doesn't returns anything?

"Run"ing vs. Single stepping in Java Eclipse -

Sbatch: How can I see I'm getting the amount of memory I requested

SQL Database Managed Instance file name change

Can SHACL be implemented using SPARQL?

Understanding more about type_traits

Prevent user from seeing previously visited secured page after logout

Errors while installing matplotlib using pip install

Powershell equivalent of whos from MATLAB or ipython

How to control the size of a popup box that chrome adds to input type emails in my code for mobile only?