I need to build the property for a getElementById dynamically. Ive tried this:

Code JavaScript:
 var elementID = 'bubbleMESSAGE' + userID;
   	 var bubble = document.getElementById(elementID);

But it doesnt work....userID is a variable with a value assigned to it earlier in the script.....all i get when i run this code is bubble has no properties

any ideas?