and why on earth would you want to do that? :)
user can still call setMarkupId on component. And there are no
restrictions on the ID except that it can't be empty. So if I call
mycomponent.setMarkupId("1234") should that break the javascript?
-Matej
On Feb 12, 2008 8:13 PM, Gerolf Seitz <[EMAIL PROTECTED]> wrote:
> >
> > maybe encode the integer using [0-9a-zA-Z] instead of just [0-9], or
> > even to make it faster encode it into hex...
> >
>
> i'd like to see it done in a javascript friendly way, something like:
> [a-zA-Z][0-9a-zA-Z]*
> that wa you can safely use the markup id as a starting point for javascript
> variable names.
>
> gerolf
>
--
Resizable and reorderable grid components.
http://www.inmethod.com