Thank you - I found the correct Line and puted my JS in the head ...
<script>
function changeImage(a) {
document.getElementById("hikashop_main_image").src=a;
}
</script>
It works that it changes the Image - but i can't find out how i get the image source of each caracteristics...(so when i use 'this', it changes to src='[object HTMLOptionElement]')
I tryed to get the source of the image - but it did not works...
print_r($this->element->variants);
i know it should end with the [file_path] - but in between... ???
Or is there any function how i get the source more easy?
thanks in advance
Maya