Jquery $.post doesnt work on chrome

spulleyulceta

New Member
I'm having a problem but I couldn't solve it.my code is working on firefox perfectly.I have two list boxes: the first one contains countries, the second contains cities. If you change country, the cities list in the second list box.my jquery code:\[code\]$('#country').change(function(){var sec=$('#country').val(); $.post( 'select.php?do=country', {s:sec}, function(answer){ $('#city').html(answer); } );});\[/code\]when I changed country nothing happens in google chrome. thank you.
 
Top