jQuery image replacement by click or select

In this section, you will learn to replace image by button click or select drop down without refreshing complete page.

jQuery image replacement by click or select

In this section, you will learn to replace image by button click or select
drop down without refreshing complete page.

EXAMPLE

In the given below code, you will learn to replace image by button click or
by selecting an option of select drop down box without refreshing or reloading
complete page. This will be done using jQuery. You need only jQuery set up file.
In the below example, we are using jQuery setup file
jquery-1.4.2.min.js. The complete HTML code is given below :