I have a website which checks users IP and if its from CA displays a message.
I am using JQuery to check users IP, the code is at http://jquery-howto.blogspot.in/2009/04/get-geographical-location-geolocation.html
I have implemented the code in my website
My question is :
How do i check if the code works ? Because i am not based in California
The sample code they give there does return state. Note that they give a new URL:
This is not the only API you can use by any means.
Demo