Hi,
this is the problem:
when you change "small $7" to "large $9", the event, that is fired, is on the size
select. And the totalprice is set to sizePrice (=> $9).
Others if (source ==...