select method is deprecated in jquery 1.9+, use active option instead