I'm developing a web application in these days. I use an <a> tag which is stylized with CSS as a button. I need to make it disabled once the user clicks on it, using jQuery. I tried setting up something like $('#id').attr("disabled", "disabled"); but that didn't work. Does anyone know how to use jquery to disable an anchor tag?
Could you please let me know how to disable the anchor tag on different button click.
i have use a bootstrap class in anchor tag to be used as button type icon(not actually button).
i have used .on and .off functions to do solve this issue but according to the senior he dosen't allow nd nt sure about running everywhere