pritu patel
Posts: 0
Joined: Tue Jan 21, 2014 6:24 am

How to add image with clickable event in listitem???

I am trying to add image on listitem.It is perfectly set on listitem.
But When i click on listitem it show a new page with their more detail.

Now my problem is that I put image with heart shape as a favorites.
I want to change image on the image click.

But problem is that when i click on listitem it forward to next page.
If i click on outside of the image then it forward to the next page.

Then how it possible to change image on click of image on listview???
and not forward to the next page.

How it possible????
Please see the image... Image

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

How to add image with clickable event in listitem???

Hello!
Sorry for delay, working on it.

pritu patel
Posts: 0
Joined: Tue Jan 21, 2014 6:24 am

How to add image with clickable event in listitem???

thank you for reply.

I found 1 solution
$('#'+imageid).attr('src',"files/views/assets/image/favheart.png");
i used this line on click of image .

If i face any problem with this then i will need your help and i will ask you.
Thank you

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

How to add image with clickable event in listitem???

Thank you for update!

Return to “Issues”