Find and replace certain part of value (jquery)
- by Hakan
This might be a little complicated. See code below.
When image is clicked I want to change "MY-ID-NUMBER" in "value" and "src" of object. But I want the other information to remain.
When link is clicked I want to restore "value" and "src" so I can use the same function for next image that is clicked.
Is it possible? Please help!
My HTML:
…