这是非常简单的东西,但看不出什么我想念,任何想法?
错误:无效或意外的令牌
在尝试构建
的消息上获取错误JS
var country_select = 'c_UK';
var country_image = 'eu';
var country_link = 'http://www.google.co.uk';
var country_short = 'UK';
var message = "looks like you're in" + json.country + "<span class='flag-" + country_image +"'></span> Take me to the Google <span class='"+ country_found_short +"'></span> site <a href='"+ country_link +"' class='button country_found_link'>Visit Site</a>';
// set top bat details
$(".country-select .message").html(message);
$(".country_found_short").html(country_short);
$(".country-select").show();