Connecting Tech Pros Worldwide Forums | Help | Site Map

How can image can bechange on row click on table

Member
 
Join Date: Mar 2008
Posts: 101
#1: 3 Weeks Ago
How can image be changed on row click on table? If i click a particular row, image corresponding to that row should be displayed. I know abt imagemap but not sre how to implement it. Thanks in advance

RamananKalirajan's Avatar
Needs Regular Fix
 
Join Date: Mar 2008
Location: Chennai - India
Posts: 350
#2: 3 Weeks Ago

re: How can image can bechange on row click on table


Yes you can do this very easily. Write an onclick listener for the Table Row. Have a function pass the table row Id to that function which row is clicked, with that you can show the picture/Image. Post the code what you have tried so far..

Thanks and Regards
Ramanan Kalirajan
Reply