Maxmind has a free javascript one to detect cities and states...the cities are a little off but the state is always dead on.
I can provide it later if you'd like?
I can provide it later if you'd like?
<script type="text/javascript" src="http://j.maxmind.com/app/geoip.js"></script>
<script type="text/javascript"> var country = geoip_country_name(); var state = geoip_region(); alert("State: "+state); </script>