I am trying to change an image by clicking a DIV tag i have try many things but aparently non of those work.
Thanks.
Change an <img/> image by click
Page 1 of 14 Replies - 325 Views - Last Post: 30 September 2012 - 09:18 AM
Replies To: Change an <img/> image by click
#2
Re: Change an <img/> image by click
Posted 29 September 2012 - 12:49 PM
What have you tried? Have you tried Javascript or jquery? Post more information on what you have tried.
#3
Re: Change an <img/> image by click
Posted 29 September 2012 - 02:06 PM
#4
Re: Change an <img/> image by click
Posted 29 September 2012 - 03:57 PM
fabrivera99, on 29 September 2012 - 02:06 PM, said:
Please expand on that it's hard to help if you don't tell us what you have tried.
Javascript
Select the img tag by id
Bind a click event to the img element
Then when the img is clicked change the src attribute string
Hope this helps
This post has been edited by laytonsdad: 29 September 2012 - 04:03 PM
#5
Re: Change an <img/> image by click
Posted 30 September 2012 - 09:18 AM
Its ok already solve it
Page 1 of 1
|
|

New Topic/Question
Reply


MultiQuote




|