Question 35 Views Vishal V (VishalV9) Areteans Technology Solutions Areteans Technology Solutions IN View Profile Send Message VishalV9 Member since 2016 1 post Areteans Technology Solutions Posted: November 29, 2021 Last activity: November 29, 2021 Posted: 29 Nov 2021 2:13 EST Last activity: 29 Nov 2021 3:40 EST Disable Link on on-click using Java script Report I have a question on handling java script code. I have an LDAP login page where the user id is authenticated based on generating OTP. When an OTP is generated, user can see Resend OTP link. If this ResendOTP link is clicked, the link should be disabled for next 60 seconds. In order to disable the link, i have used SetTimeout function on the particular element id. and since on click of the link refreshes the web page, SetTimeout isn`t effeciently working. Need your thoughts to disable the link on ON-CLICK. ***Edited by Moderator: Pooja Gadige to add capability tag*** Pega Customer Service for Financial Services Security User Experience Financial Services Senior System Architect Reply Like (0) Share Share this page Facebook Twitter LinkedIn Email Copy link Copying... Copied!