So I've been fooling around with ASP.NET and I have what would seem to work, but it doesn't... I was just wondering if anyone who knew ASP.NET could help.
EDIT: I've modified the source. It works only when the textbox loses focus, though. Also, if there are any HTML-specific characters (such as '>' and '<') there's an error thrown. I thought Server.HtmlEncode() was supposed to take care of that?