title: how to set focus on a div using javascript or jquery when # already added in url?
body: <p>I want to set focus on particular div using jquery or javascript. i have just use <code>document.getElementById("pack_0").focus();</code> in that 'pack_0' is my div id but it doesn't work. I notice that '#' is already added in my url because of some popup coding, so my url is 'http://localhost/website/book#'</p>
  
  <p>So, can any one help me for force fully focus on div when # in url?</p>
  
  <p>Thanks in advance.</p>