Azim Kazi
Giga Guru

Both prototype and jquery can't handle id selectors that have periods (.) in them.

 

 

 

To get the selectors to work you need to escape (use \) the special characters.   This also applies to id's that have # and : in them.

 

The correct   prototype selector statement is :

 

 

 

$$('#element\.incident\.comments div').each( ....