Beginner question:
I would like to pass in window.location.hash to my form action parameter. How can I do this with a javascript call?
my current non-working code is:
<form method="POST"
action="j_security_check"+window.location.hash>
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Your javascript needs to be based on some kind of event. So you might want to do it when your submit button is pressed or something: