Getting a tag client id with JavaScript might be an issue. Here's how you can get your tag using DOM.

Some of this content is outdated and needs to be reviewed.

document.getElementById('div-id').childNodes[0]

TODO: there are better ways to handle this in JSF2


 

We'd love to hear your thoughts!

All fields required