~Cheryl ElhipigenlenOct 6, 2012, 6:27 PM366 PostsRe: Client side JavaScript document.getElementById() is empty on web browser Is the document in read mode or edit mode? That code will only work when the XPage document is in Edit mode.