I haven't tested this, but try
$( document.getElementById('123.123') )
Also note that according to the specification IDs must start with a letter
([a-zA-Z])... It sounds like even changing a period is difficult enough so
this might be a similarly difficult task given your code/data. I
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
this works, but maybe there is also an easier way out there somewhere-
$([id='something.somethingelse'])
On Mar 24, 2:00 pm, 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
Escape like:
'#123.123'.replace(/\./g, '.'); // = #123\\.123
---Klaus
On Mar 24, 7:00 pm, 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
4 matches
Mail list logo