I am creating a div dynamically. In that div, i have table. Table contains link in each 1st td of row.
My link id looks like
id="ac2dc332-fa95-4e59-a3ad-83ffa91d3f4d#Apple#APPLCCompanies"
Now, depending on some condition, i need to change color of this link.
i tried to get it through $('#ac2dc332-fa95-4e59-a3ad-83ffa91d3f4d#Apple#APPLCCompanies').attr("color","green") but i am not able to get this link.
If id can have any limitation, i can simply put small word as "Name" attribute for link but is it possible to get link by name?
Can anyone help me?