Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery change picture src

<img id="my_image" src="first.jpg"/>
<script>
//Then you can change the src of your image with jQuery like this:
$("#my_image").attr("src","second.jpg");
</script>
Source by thisinterestsme.com #
 
PREVIOUS NEXT
Tagged: #jquery #change #picture #src
ADD COMMENT
Topic
Name
3+2 =