I have the following button that redirects to the given page on button click. I want that instead of http://localhost:8181/RestServiceProject/index2.html this url showing on the status bar, it shows http://localhost:8181/RestServiceProject/GetDetails
How to do this in html?
<form action="http://localhost:8181/RestServiceProject/index2.html">
<button type="submit">Get Order Details</button>
</form>