Home How do I add default (Default to browser country) country code before the mobile number in MVC ASP.NET?
Reply: 0

How do I add default (Default to browser country) country code before the mobile number in MVC ASP.NET?

user4497
1#
user4497 Published in September 19, 2018, 7:31 pm

I have got a Textbox accepting mobile number. How do I add default (Default to browser country) country code before the mobile number?

I am using MVC ASP.NET

share|improve this question
  • You need to implement 2 parts, 1st is to get the country iso code from IP address using any geolocation data, for example, lite.ip2location.com or ipinfodb.com. 2nd is to get the IDD dial code, the list can be retrieved from this thread stackoverflow.com/questions/10772329/… – Chris Lim Nov 14 '17 at 2:56

1 Answer 1

active oldest votes
up vote 2 down vote
You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.322102 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO