i have an anchor tag like this
<div id="'+itemArr[0]+'">'+itemArr[1]+'
<a id="'+itemArr[0]+'" href="javascript:void(0)" onclick="javascript:chatWith('+rep+')" disabled="true">Chat</a>
<a href="javascript:void(0)" onclick="javascript:changeActive('+value+');" disabled="true">Active</a><br> </div>'
how can i enable or disable that particular anchor tag can you please guide me
Thanks for advance.
Another way:
According to comment
Try this:
Working Sample