Hi everyone! I’m currently interested in displaying a quick line or two of copy if a visiter’s IP address falls between a certain IP range. Do any of you have any resources or ideas of how I can go about it?
I’d like to use JS (maybe jQuery?) for this. I’d imagine I can use JS to detect the IP then use an IF statement to display said content. I’m pretty new to JS and is the reason why I would love some help from ya’ll
Any help is MUCH appreciated. Thnx!
As always, much appreciated…
You’ll probably have to use a server side language with maxmind, then with JS, you can do an AJAX request. Same goes for hostip, since it would be from a different domain.