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

Popular posts from this blog

Member with no value in F# -

java - Joda Time Interval Not returning what I expect -

c# - Showing a SelectedItem's Property -