How do js or Jq get the current city and IP, and ask the boss for advice on the mobile end?

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

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea5973-1d70.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea5973-1d70.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?