I have code like this:
<a href="#div-part" title="title">go to div part<a>
<form>
...
</form>
<div id="div-part">
<div>
After clicking the anchor tag scroll automatically moves to div part but instead of #div-part in url it adds #undefined in URL.
e.g. localhost:80/index.jsp#undefined.
Please help me on this.