How can I set a value on my page (not form) for jQuery to check?
<p>I need to identify my pages with something that can be picked up by:</p>

<pre><code>function refreshGrid(entity) {
    var contentID = $('#ContentID').val();
</code></pre>

<p>So I need some element that has a value or something that I can check in my external script. I tried <code>&lt;input id="ContentID" type="hidden" value="01"&gt;</code> but not inside a form. It always seem to set itself to "00" and I think probably it is not a good idea to use  when not inside a form.</p>

<p>Is there some other way I could place a value inside an element on a page that I could check. I just need something where I could put codes such as "00" or "01" or "02" etc.  I would also like to do this the "correct" way so I'd not like to use a form. </p>
