title: How to access css properties in javascript when applied via external CSS file?
body: <p>I have a little problem. 
  When I set the css rule using some property, say, background-image in an external .css file and then try to access it using javascript in another external .js file, it does not work. That is to say I do not get any value for <code>document.getElementById(someId).style.backgroundImage.</code></p>
  
  <p>But when I set the css rule using style attribute in html file itself, it works.</p>
  
  <p>So, my query is can't I access css property in js, if css is set in external .css file.</p>