Skip to content

Tag: javascript

How to use AJAX to POST to PHP?

As I asked here I would like to know how I could pass the data from a simple JS function to php, and log it there. I found this answer and tried to follow it. This is my code right now (both in the …

Is there any way to merge 2 json files programmatically?

There is the US json for the current situation in US, yet the json only shows the States while I’d also need the coordinates to place them in a map. us data On here we have the long and lat for each State, not sure how could I merge the 2 to combine them into a single file adding the