Question: I do not think this is possible but just want to be sure. I am trying to expand a collapsed div (with jquery) when coming from another page. For example: from the home page a user clicks on view press release and it goes to the page with many press releases already collapsed. I want the correct press released expanded. Is this even possible?

Answer: 
It is definitely possible - assuming you control the target page. In that case, you can add an extra argument to your request link specifying the press release tho expand (for example, mypage.html?press\_release\_id=1234)

And then, in the target page (the one with the press releases), and using `getParameterByName()` from [How can I get query string values in JavaScript?](https://stackoverflow.com/questions/901115/get-query-string-values-in-javascript), you can easily parse this argument and expand the corresponding div:

```
$(document).ready(
   function() {
      var id = getParameterByName("press_release_id");
      $("#" + id).show();
   });

```
What about looking at the document.referrer? If the url contains the information that would refer to the specific div, then just trigger the event that would expand it in your ready handler.