This is my ajax script for getting user latitude and logitude based on location it is working properly in my localhost but in my beta application unable to get the values pls help me to fix it any other suggestion pls thanks in advance.
public static string Latitude;
public static string Longitude;
[WebMethod]
public static void SaveLocation(string latitude, string longitude)
{
Latitude = latitude;
Longitude = longitude;
}
Jignesh KumarPosted Dec 26, 2023, 4:57 AM
Hello Jaya Prakash,
Have tried to add console log to check its getting value or not,
Check your console log to check, you are getting values in console or not