Alert the destination of form

I have a form which I want to see where it’s directing.


That doesn’t seem correct. How do I do it?

Just as a guess:



I just tried the code I posted above, and it works when the onclick is put on the submit button.