[Javascript] Maximun length of an id

Mike Dougherty mdougherty at pbp.com
Fri Sep 7 15:05:24 CDT 2007


On 9/7/07, Terry Riegel <riegel at clearimageonline.com> wrote:
> Hello all,
>
> I am working on a text editing mechanism for my web sites. I am
> looking at something like
>
> <div class="editable" id="someidsotheserverknowswhattoupdate">
>   My editable text will be here
> </div>
>
> I plan on encrypting the ID so that it couldn't be meddled with and
> save to some other area of the site. I have several ideas for how
> this will work, and am open to any suggestions on that aspect
> (encryptng the id that is).

I don't understand why you would want to "encrypt" the id.  Any limit
is probably going to be browser dependant.  Can you provide more
information just to satisfy my curiosity?



More information about the Javascript mailing list