I noticed that in Firefox I can add the #MyAnchor tag to the action attribute, for example ...
<form action="#MyAnchor"> <input type="text" name="a" /> <input type="text" name="b" /> <input type="submit" /> </form>
and when the form is submitted, the anchor is automatically displayed in the url for example
mypage.aspx a = 1 &? B = 2 # MyAnchor
However, this does not work on IE. Anyway, can I find a happy medium for both browsers?
source share