Onclick event for IMG
Posted on 2000-04-19
In my small project I have a list i.e. <SELECT>, and two images one for the Up arrow and another for the Down Arrow to shift the options among themselves .
Now the Onclick event for IMG is supported by IE but not by Netscape , so i am using the link object as follows which is working for both:
what i want is to call the adjust function as follows :
but in the adjust function if i write window.alert(imagename) it shows blank
So why it doesn't get the name ? with this.name (i don't want to pass the hardcoded name as 'GoUP')
Please help me ...