SHARE
TWEET

Untitled

a guest Jun 27th, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var lang = '{!language}';
  2.         if(lang!='en_us'){
  3.             alert('in here');
  4.  
  5.  
  6.            var letterSpacing = document.getElementsByName("{!$Component.letterSpacing}");
  7.  
  8.             for(var i=0;  i<letterSpacing.length; i++){
  9.                 var val = document.getElementsByName("{!$Component.letterSpacing}")[i].value;
  10.                 alert(val);
  11.                 val.removeAttribute("style");
  12.             }
  13.  
  14.         }
  15.      
  16. <td name="letterSpacing" class = "rightPadding" style="letter-spacing: 15px;"> {!$Label.Currency} </td>
  17.  <div class="slds-truncate" title="role" name="letterSpacing" style="letter-spacing: 10px;">{!$ObjectType.QuoteItem__c.fields.Type__c.label}</div>
  18.      
  19. document.getElementsByName("letterSpacing");
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top