$("#simple_captcha-7d2fff9933a").attr('src', '/simple_captcha?code=f11a26201d6eef760d220c8341ff1edcb6b97200&time=1537873896'); $("#simple-captcha-hidden-field-simple_captcha-7d2fff9933a").attr('value', 'f11a26201d6eef760d220c8341ff1edcb6b97200');