I have two pages. 1> "index.html" and another is "events.html."
the code of "index.html" is like this:
<body>
<a href="events.html#div2" data-role="button">Click me</a>
</body>
the code of 'events.html' is:
<body>
<div id="div1">abcd</div>
<div id="div2">xyz</div>
</body>
So, when I click on index.html page it should go to the "div2" part of "events.html" page. But, in real nothing is happening.
Now my question is how to link with a <div>
part of "events.html" from "index.html" in jquery mobile.