how do js or Jq get the current city and IP, and ask for advice on the mobile end? it"s best to find a small case. Thank you very much!
how do js or Jq get the current city and IP, and ask for advice on the mobile end? it"s best to find a small case. Thank you very much!
navigator.geolocation this api acquires latitude and longitude, and then finds some interfaces to analyze the latitude and longitude of the city. As for ip, it has not been done, but the backend can give it to you directly
.Previous: Assign the object to the variable and modify the variable. why hasn't the object been changed?