I am implementing a captcha for a email. when click on linkEmail button email modal will open. there i have to set captcha image generated by a handler (Captcha
linkEmail
IE caching all GET request, so add a timestamp to your request URL e.g :
$(".linkEmail").click(function () { //Load captcha image $('.imgCaptcha').attr('src', '/Custom/AppCode/Utilities/CaptchaGenerator.ashx?'+new Date().getTime()); $('#emailModal').modal(); });