CI:22.38, HR:59.92, CY:22.75, CZ :195.23, DK:304.56, DJ:1.14, DM:0.38, DO:50.87, EC:61.49, EG:216.83, SV:21.8 , GQ:14.55, ER:2.25, EE:19.22, ET:30.94, FJ:3.15, FI:231.98, FR:2555.44, GA:12.56, GM:1.04, GE:11.23, DE:3305.9, GH:18.06, GR:305.01, GD:0.65, GT:40.77, GN :4.34, GW:0.83, GY:2.2, HT:6.5, HN:15.34, HK:226.49, HU:132.28, IS: 12.77, IN:1430.02, ID:695.06, IR:337.9, IQ:84.14, IE:204.14, IL:201.25, IT:2036.69, JM:13.74, JP:5390.9, JO:27.13, KZ:129.76, KE:32.42, VN:101.99, 是:30.02, ZM:15.69, ZW:5.57 } }] } }); })解决方案 ('#map1')。vectorMap({ map:'world_mill_en' , focusOn:{ x:0.5, y:0.5, 规模:2 }, 系列:{ 地区:[{ scale:['#C8EEFF','#0071A4'], normalizeFunction:'polynomial', 值:{ AF:16.63, AL :11.58, DZ:158.97, AO:85.81, AG:1.1, AR:351.02, AM:8.83, AU:1219.72, AT:366.26, AZ:52.17, BS:7.54, BH:21.73, BD:105.4, BB :3.96, BY:52.89, CG:11.88, CR:35.02, CI:22.38, HR:59.92, CY:22.75, CZ: 195.23, DK:304.56, DJ:1.14, DM:0.38, DO:50.87, EC:61.49, EG:216.83, SV:21.8, GQ:14.55, ER:2.25, EE:19.22, ET:30.94, FJ :3.15, FI:231.98, FR:2555.44, GA:12.56, GM:1.04, GE:11.23, DE:3305.9, GH: 18.06, GR:305.01, GD:0.65, GT:40.77, GN:4.34, GW:0.83, GY:2.2, HT:6.5, HN:15.34, HK:226.49, HU:132.28, IS:12.77, IN:1430.02, ID:695.06, IR:337.9, 智商:84.14, IE:204.14, IL:201.25, IT :2036.69, JM:13.7 4, JP:5390.9, JO:27.13, KZ:129.76, KE:32.42, VN:101.99, 是:30.02, ZM:15.69, ZW:5.57 } }] } } ); }) 嗨suhelsa, 请尝试使用此代码获取价值带有jquery的文本框。 (文档)。ready( function (){ var textboxvalue = Hi i want to get value into text box , how can i get this can u guide or send any snippets i need to get codes like AF can u guide me $('#map1').vectorMap({ map: 'world_mill_en', focusOn: { x: 0.5, y: 0.5, scale: 2 }, series: { regions: [{ scale: ['#C8EEFF', '#0071A4'], normalizeFunction: 'polynomial', values: { "AF": 16.63, "AL": 11.58, "DZ": 158.97, "AO": 85.81, "AG": 1.1, "AR": 351.02, "AM": 8.83, "AU": 1219.72, "AT": 366.26, "AZ": 52.17, "BS": 7.54, "BH": 21.73, "BD": 105.4, "BB": 3.96, "BY": 52.89, "CG": 11.88, "CR": 35.02, "CI": 22.38, "HR": 59.92, "CY": 22.75, "CZ": 195.23, "DK": 304.56, "DJ": 1.14, "DM": 0.38, "DO": 50.87, "EC": 61.49, "EG": 216.83, "SV": 21.8, "GQ": 14.55, "ER": 2.25, "EE": 19.22, "ET": 30.94, "FJ": 3.15, "FI": 231.98, "FR": 2555.44, "GA": 12.56, "GM": 1.04, "GE": 11.23, "DE": 3305.9, "GH": 18.06, "GR": 305.01, "GD": 0.65, "GT": 40.77, "GN": 4.34, "GW": 0.83, "GY": 2.2, "HT": 6.5, "HN": 15.34, "HK": 226.49, "HU": 132.28, "IS": 12.77, "IN": 1430.02, "ID": 695.06, "IR": 337.9, "IQ": 84.14, "IE": 204.14, "IL": 201.25, "IT": 2036.69, "JM": 13.74, "JP": 5390.9, "JO": 27.13, "KZ": 129.76, "KE": 32.42, "VN": 101.99, "YE": 30.02, "ZM": 15.69, "ZW": 5.57 } }] } }); }) 解决方案 ('#map1').vectorMap({ map: 'world_mill_en', focusOn: { x: 0.5, y: 0.5, scale: 2 }, series: { regions: [{ scale: ['#C8EEFF', '#0071A4'], normalizeFunction: 'polynomial', values: { "AF": 16.63, "AL": 11.58, "DZ": 158.97, "AO": 85.81, "AG": 1.1, "AR": 351.02, "AM": 8.83, "AU": 1219.72, "AT": 366.26, "AZ": 52.17, "BS": 7.54, "BH": 21.73, "BD": 105.4, "BB": 3.96, "BY": 52.89, "CG": 11.88, "CR": 35.02, "CI": 22.38, "HR": 59.92, "CY": 22.75, "CZ": 195.23, "DK": 304.56, "DJ": 1.14, "DM": 0.38, "DO": 50.87, "EC": 61.49, "EG": 216.83, "SV": 21.8, "GQ": 14.55, "ER": 2.25, "EE": 19.22, "ET": 30.94, "FJ": 3.15, "FI": 231.98, "FR": 2555.44, "GA": 12.56, "GM": 1.04, "GE": 11.23, "DE": 3305.9, "GH": 18.06, "GR": 305.01, "GD": 0.65, "GT": 40.77, "GN": 4.34, "GW": 0.83, "GY": 2.2, "HT": 6.5, "HN": 15.34, "HK": 226.49, "HU": 132.28, "IS": 12.77, "IN": 1430.02, "ID": 695.06, "IR": 337.9, "IQ": 84.14, "IE": 204.14, "IL": 201.25, "IT": 2036.69, "JM": 13.74, "JP": 5390.9, "JO": 27.13, "KZ": 129.76, "KE": 32.42, "VN": 101.99, "YE": 30.02, "ZM": 15.69, "ZW": 5.57 } }] } }); })Hi suhelsa,Please try this code for get value from textbox with jquery.(document).ready(function () { var textboxvalue= 这篇关于如何在asp.net或html中将值jquery函数获取到文本框或字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 11-03 13:00