Ok. I found an archive related to this @
http://www.codingforums.com/archive/...hp/t-5909.html and did a little experiment.
Based on that, lets try new script as follows:
PHP Code:
<div class="back">
<select name="id[x]" id="attrib-x">
<option...
...
</select>
</div>
<script type="text/javascript">
function afunc(){
getattribimage('id[x]',547,500, this.value,5);
}
document.getElementById("attrib-x").addEventListener("change",afunc,false);
</script>
Phew, bigsy85... let's have a break ok?
I'm quite dizzy now.