Home >Web Front-end >JS Tutorial >Jquery replace character replacement implementation code_jquery
Example: To modify the size of the image:
Use the following statement to replace the size in the image attribute.
$("image").attr("src").replace("size=60", "size=200");
replace(the target to be replaced, after replacement new value)