You need to sign in to do that
Don't have an account?
turbo2oh
override default Ids
After reviewing this page: http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_image.htm I've found that isn't holding true in my situation for some example.
When I set the id attribute of an apex:image it is adding a prefix to the id. I thought I had found away around this awhile ago but I can't seem to remember what it is. Is there a way to get the id in the rendered html to be the same as the one I set in the apex:image tag?
Thanks!
To get around this I had to assign an ID to the parent element as well. Then I had parentId:imageId instead of the random prefix. Even then I couldn't select it directly via CSS. I had to use a jquery selector after the document was loaded to add the class.
Is anyone aware of a better way to handle this?