I have two pages and two captcha respectively. One captcha is loaded on refresh and second captcha is loaded on second page when second page is loaded with ajax. On second page I have two button YES and No, if I am clicking on No, my captcha should be reset and for that i have used
grecaptcha.reset();
but nothing is happening.
My code on No button read like this
$(document).on("click","#nt_btncontent .none_btn",function(){
grecaptcha.reset();
});