javascript - By click on an icon it should change to another icon -
Click to change the icon to another icon
if I click on an icon If this is to be done after clicking "cat" then it should be changed to "rat"
Using mostly junkies.
Try it (jQuery code):
$ (function () ($ ('. YourIconClass'). (Function () {$ ("# yourIconId"). ('Src', "img / picture1.jpg"); return false;});});
Comments
Post a Comment