Activity › Forums › Salesforce® Discussions › How can I get this apex:repeat variable in javascript? Tagged: Apex Rep, Javascript, JQuery, styleClass Salesforce® Discussions How can I get this apex:repeat variable in javascript? Posted by Ravi on April 30, 2016 at 6:02 PM How can I get this apex:repeat variable in javascript? Surbhi replied 9 years, 11 months ago 2 Members · 1 Reply Apex RepJavascriptJQuerystyleClass 1 Reply Surbhi Member May 26, 2016 at 6:39 AM Hi Ravi, Add a styleclass=”” to your components, then use jQuery’s selectors. You can’t use Id here because it has to be set to a static item. Thanks Log In to reply. Public All Members My Connections Only Me PublicAll MembersMy ConnectionsOnly Me Public All Members My Connections Only Me