> I have the following link in a page that works fine: > > <a name="notcurrent" > href="/itinerary/updatenode.do?id=1111&expanded=true">Trip</a> > > What I would like to do though is add an anchor so that I go to a particular > point in the page so I tried including an anchor like this: > > <a name="notcurrent" > href="/itinerary/updatenode.do#current?id=1111&expanded=true">Trip</a>
This looks ugly, but I understand what you're trying to achieve. Have you tried reversing the order? <a href="/itinerary/updatenode.do?id=1111&expanded=true#current">Trip</a> If I understand correctly, "#..." part is interpreted (or ignored) by the browser. So, the browser should cut off everything after the "#"sign, send request for the first part and jump to an anchor defined by the second part. So, in your case, the browser is cutting off the "current?id=1111&expanded=true" and expecting an anchor in the resulting page. Nix.
