• Teddyy
  • NEWBIE
  • 0 Points
  • Member since 2009

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies

I have a static resource javascript file with code -

var strTbl1='';
strTbl1+='<table>';
strTbl1+='<tr>';
strTbl1+='<td align="center" width="15" height="20"> <img src="cancel.png" border="0"/> </td>';
strTbl1+='</tr>';
strTbl1+='</table>';

I have an image, it is not in zip file, with name "cancel" in static resource.
How can replace  "<img src="cancel.png" border="0"/>" with static resource image?