jquery (change image on click) how to .. ?

Mit Chauhan

New member
JAI MATADI all ..

i want to change my image on click on <a> (anchor tag) using JQUERY ..

but i dont know how to .. here is my code ..

--------------------------------------
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
$(document).ready(function()
{
$(".a111").click(function()
{
$(".div1").slideToggle();
});

});

</script>


<img src="images/plus sign.gif" />
<a href="javascript:void(0)" class="a111">sdds</a>
--------------------------------------

but i dont know furthure how to change my PLUS SIGN.GIF to my MINUS SIGN.GIF ..

if any body knows .. please tell me ..

thanks ..
 
Back
Top