How do you know if something was manipulated in jQuery?
<p>I have a form using jQuery that I need to manipulate the incoming data. The engine provides me a <code>text</code> field with decimal data, but it expects the POST data to be hexadecimal. So I convert it with jQuery to avoid the user from needing to re-enter it. Yes, I know it's pretty dumb, but it's out of my hands on the other end.</p>

<p>I tried to use <code>addClass()</code> to add a class (<code>hexified</code>) and then modified my selectors to not re-process. But when I reloaded the page with F5, Firefox kept the modified values, but cleared the class on me.</p>

<p>I tried making a hidden input that the server would ignore (so it always came back zero), but that seems to randomly not work.</p>

<p>I was thinking cookies, but that wouldn't help if you had the page open in multiple tabs, or how would I clear, etc.</p>

<p>Any ideas?</p>
