A little background information, I can not use css with this webpage due to the server it is being run on so I am attempting to look for a way around this problem with javascript.
Thanks for your help, the code is listed above.
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.
You are getting
{“error”: “Please use POST request”}because, as @Kolink rightly pointed out, POST is a method the form can use. The action attribute is for the URL of the page to process your request.Updated your fiddle with what I think you’re trying to accomplish.
I set the action to a null string, as you do not need the form to actually submit the request to another page. Likewise, I changed your submit button to just a plain-old button.
As far as “I can not use css with this webpage”, what’s the end-goal here? What are you trying to accomplish overall. The demonstration you set up on the fiddle seems overly complicated.