SyntaxFix
Write A Post
Hire A Developer
Questions
var nationality = $("#dancerCountry").val(); should work. Are you sure that the element selector is working properly? Perhaps you should try:
var nationality = $("#dancerCountry").val();
var nationality = $('select[name="dancerCountry"]').val();