I need to pass a client ID to a Javascript function in the onblur event of an ASP.net control event like this:
OnBlur=\"javascript:setBackground(this, \'<
You could either change the asp.net control to standard html element (i.e., without runat="server")
or see this Stack Overflow answer:
problem assigning declarative values in asp:hyperlink. error: this is not scriptlet. will output as plain text
or use jquery