Trying to pass latitude and longitude values using HTML5 geolocation to auto-fill two form fields in a Django form with JavaScript. Found some solutions, but dealing with a Meta class form that generates HTML automatically, making it difficult to add an "id" tag for access purposes.
Is there a correct method to access and populate fields in a Meta class form like this using JavaScript? Any advice would be helpful.