Hi there
We have this script (settings.html) that has Ajax (Jsonp) calls for GetCountries and GetZones (time zone) to populating the Country and Zone list for the user detail which is also another Ajax called for GetUser.
GetCountries returned 252 records with CountryCode and CountryName.
GetZones returned 415 records with ZoneId and ZoneName.
User detail obviously returned user detail with CountryCode and ZoneID for that particular user.
The population of the Country and Zone options in Select tag are working well. We passed the value from UserDetail to these and the "selected" value is working ok on Country however not in the Zone ?!?!
var mycountry = $('#country_ddl');
mycountry[0].value = row.countrycode;
mycountry.selectmenu("refresh");
var myzone = $('#zonelistddl');
myzone[0].value = row.zoneid;
myzone.selectmenu("refresh");
What we found that if we do reduce the number of records coming in for Zone become 228 ... the "selected" value of both of them (Country and Zone) are ok ?
Any ideas to resolve this issue?
BTW ... we are using the latest Jquery Mobile 1.4.4 and Jquery 1.11.1
Thanks