title: Determine if string is encoded HTML via jQuery?
body: <p>I'm working on a validation script, but I'm running into a very particular issue.</p>
  
  <p>If a user enters a string that happens to be an encoded html character (like <code>&amp;#38;</code> or <code>&amp;amp;</code>), it will output as the character (&amp; in this case). My question is this: is it possible to write a function that detemines if a string is an encoded character? So if the user enters one of the two above options, I want to launch a particular function, and if it's a non-encoded character, I want to do something else.</p>
  
  <p>Is there a way to do this?</p>