How to get a dynamically id?
I am working on a JSF application, some of the component render dynamically created ids in html.
I have this code
-
<s:div id="listActionsPanel" >
something here.
</s:div>
which renders a div in html preceded with the form it lies in, so I get
-
<div id="itemTypeListForm:listActionsPanel" >
so this jQuery code does not work.
-
jQuery('#listActionsPanel').corner("round bl,br").addClass('filterBox');
Appreciate any help. Thanks in advance.