Question Vishal V (Vishal Venkatesh) Accenture Solutions Pvt Ltd Accenture Solutions Pvt Ltd IN View Profile Vishal Venkatesh Member since 2016 4 posts Accenture Solutions Pvt Ltd Posted: Nov 29, 2021 Last activity: Nov 29, 2021 Posted: 29 Nov 2021 2:13 EST Last activity: 29 Nov 2021 3:40 EST Closed Disable Link on on-click using Java script Report View translated message 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 Like (0) Share Share this page Facebook Twitter LinkedIn Email Copy link Copying... Copied!