• Amila Kalansooriya
  • 0 Points
  • Member since 2013

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
  • 1



I have uploaded some JS script and an image to Static Resources (zipped), then included it using the includescript tag in my page, and now I want to make references to some image in there  from within JavaScript. How can I do that? i.e. what path do I use for the image?


The VF guide states that includescript is translated to the following HTML:


<script type='text/javascript' src='/resource/1233160164000/example_js'>

 But what does that long number mean? I was thinking that maybe I could use the rendered HTML to reference the image thru JS.


Any ideas please? Thanks!


Message Edited by asadim2 on 02-01-2010 06:58 PM