Created
March 12, 2016 19:37
-
-
Save HemantShukla/31cf7fa3ee39013226cd to your computer and use it in GitHub Desktop.
Custom Attrs usage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<apex:page standardcontroller="Account"> | |
<apex:repeat value="{!Account.contacts}" var="con"> | |
<apex:outputPanel html-did="{!con.Id}" onclick="console.log(this.getAttribute('did'));"> | |
{!con.firstName} <br /> | |
</apex:outputPanel> | |
</apex:repeat> | |
</apex:page> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment