View Single Post
Old 12-12-2009, 01:01 AM   PM User | #23
hdewantara
Regular Coder

 
hdewantara's Avatar
 
Join Date: Aug 2009
Location: Jakarta, Indonesia.
Posts: 287
Thanks: 4
Thanked 39 Times in 39 Posts
hdewantara is an unknown quantity at this point
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,500this.value,5);
}
document.getElementById("attrib-x").addEventListener("change",afunc,false);
</script> 
Phew, bigsy85... let's have a break ok?
I'm quite dizzy now.
hdewantara is offline   Reply With Quote