I have a website with 2 tabs, #edit and #remove. In which, the both tabs are above and below each other. Both tabs have forms, only on its form submit, it focuses to the submitted form, On form submit, I'm making an HTTP request, when the first form is submitted, it will change the url to test.loc/#edit. suppose if a person types #gafdg instead of #edit, he is supposed to move to 404 page. I'm stuck, because it is not an ajax page. Any one have any idea on how to do it.
@Martin I'm asking for ideas only, Not the way to do it.. Don't misunderstand