How to select a div using it\'s ID but with a widcard?
If the DIV\'s ID is statusMessage_1098, I would like to select it in some way like document
statusMessage_1098
document
I'm not sure how you're populating it but if it's from the code behind you could try something like:
document.getElementById('statusMessage_<%= generatedID %>')
where generatedID is the ID generated from the code behind.