Here is my code. Why it doesn\'t work?
You are missing a :selected on the selector for show() - see the jQuery documentation for an example of how to use this.
:selected
show()
In your case it will probably look something like this:
$('#'+$('#colorselector option:selected').val()).show();