I have a form which I want to see where it's directing. [B]onclick="alert(window.location);"[/B] Code (markup): That doesn't seem correct. How do I do it?
You can do it two ways 1. If you form has a name alert(document.myform.action); Code (markup): 2. If you form has an id alert(document.getElementById('myform').action); Code (markup):