How to get the Id of an object which is added in codebehind using javascript
<p>Example:i am assigning this in .cs page</p>

<pre><code>    HiddenField hdnCharacter = new HiddenField();
    HiddenField hdnMaxCharsError = new HiddenField();
    Label lblMaxChrs = new Label();
        lblMaxChrs.ID = "lblMaxchrs";
        hdnMaxCharsError .ID = "hdnMaxCharsError ";
        hdnCharater.ID = "hdnCharater";
</code></pre>

<p>How to get his ID and values using javascript  in.js file i am trying to do custom control.so i dont have any page to add in aspcontrol. TR</p>
