Skip to content

Instantly share code, notes, and snippets.

@britishboyindc
Created September 30, 2015 20:08
Show Gist options
  • Select an option

  • Save britishboyindc/ca03b81c1167c2ac5fd3 to your computer and use it in GitHub Desktop.

Select an option

Save britishboyindc/ca03b81c1167c2ac5fd3 to your computer and use it in GitHub Desktop.
svg#close causing JS error
html += '<tr><td><button class="slds-button slds-button--icon-bare removeKWRow"><svg aria-hidden="true" class="slds-button__icon slds-button__icon--large">';
html += '<use xlink:href="{!URLFOR($Resource.SLDS090,'/assets/icons/utility-sprite/svg/symbols.svg#close')}"></use>';
html +='<span class="slds-assistive-text">close</span></button></td>';
html += '<td>' + value.AccountName + '</td>';
html += '<td class="hiderow">' + value.AccountId + '</td>';
html += '<td class="hiderow">' + value.KnowWhoId + '</td>';
html += '<td>';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment