I am adding a div tag dynamically and depending on the #id, I want to highlight it a different way. How do i get it to recognize the new div tag on an action that normally happens on page load.

My understanding is .live only works with events and there is no event in this case, is there?