I want to replace
$('#topspeed').change(function(){
with a condition, something like the following, but working
if($("[id=topspeed]").is(":selected")){
How to do it?