You can check page here: http://jsfiddle.net/7JhjN/
Basicly, there is a hell of duplication going on and I don’t like this. I am sure there is something wrong since it’s not a correct programming logic.
How can I shorten this function?
The system works like this:
1. There are 6x select boxes. (option values are the same)
2. There are 6x divs for output.
3. Whenever a select box value gets changed, image in target div gets changed.
how about this:
HTML:
Javascript: