Skip navigation
OldNapkin
Currently Being Moderated

How to Get Browser Geolocation into a CFC Using Ajax?

Jul 16, 2012 12:47 PM

I'm building a mobile optimized site and would like to deliver relavant content based on the users location. All my content is geocoded so I can handle that part as long as I can get the users coordinates. I'd like to use The HTML 5 geolocation info as opposed to a service or google API. I have found tons of scripts to get the users coordinates, but how can I pass the coordinates to a CFC (preferably without a click) so I can then begin to customize the users content on subsequent page requests?

 

Thanks!

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points