Originally posted by Venkat Sadasivam:
On the jsp I generating static html and javascript. If I generate id dynamically, my javascript and css needs to be changed accordingly. What is the best practices to resolve my issue?
I've grown to despise DOM ids and rely more on element types (input, div, span, a, etc) and class names (class="user_block") while utilizing parent and child relationships. Of course, doing this with JQuery is easy. I don't know how easy it might be in YUI.