[Javascript] Maximun length of an id

Terry Riegel riegel at clearimageonline.com
Fri Sep 7 14:38:59 CDT 2007


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).

My main question for this group is, is there any limit on the number  
of characters that can be found in an ID attribute?


Thanks,

Terry Riegel



More information about the Javascript mailing list