If you have the "raw" (ie "blah.blah") you could just "alias" the document.getElementById function:
function getId( id ) { return document.getElementById( id ); } Or if you have the ids in CSS form (ie "#blah.blah"): function getId( id ) { return document.getElementById( id.substr(1) ); } And then use it like: $( getId( 'blah.blah' ) )... Karl Rudd On Tue, Mar 25, 2008 at 5:00 AM, Harald Armin Massa <[EMAIL PROTECTED]> wrote: > > hello, > > I am in the process of moving to jQuery. > > One challenge is: many of the relevant IDs of Elements have one or > more dots within them. > > I read within the FAQ that I can escape them when using the $("#some\ > \.id") selector. > > Is there another possible way, like $().getelementbyid("#123.123") ? > or is there an escaping-function allready "in the wild"? Or do I have > to come up with my own escaping function? > > Best wishes > > Harald >