Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 273
  • Last Modified:

how to get rid of user=&password=&Submit=Login from a link

I have a form in which i have a submit button
I have made the button a link(a href) so that it goes to the following page

http://chapters-beta.ccim.com/chapters/chapter_admin/alabama?action=show_home

it works fine in mozila but in IE it goes to this page

http://chapters-beta.ccim.com/chapters/alabama?user=&password=&Submit=Login

Please if anyone know why it is doing that,  also the form action is ""

Thanks
0
huzefaq
Asked:
huzefaq
1 Solution
 
Siva Prasanna KumarPrincipal Solutions ArchitectCommented:
Try putting method="post" in the form attributes like this. see if it works
<form method="post" action="" >

0
 
huzefaqAuthor Commented:
It is already like this but still doesn't work in IE
I don't understand where does it get this user=&password=&Submit=Login

Thanks
0
 
thomas908Commented:
Can you please show your form code.
Are you using Javascript for submitting the form?
0
 
KuldeepchaturvediCommented:
put your code here & we should be able to help you out
0
 
JoeCommented:
>>I have made the button a link(a href) so that it goes to the following page

The button should not be a link, it should just be a <input type="submit"  /> and specify method="post" on your form as one previous poster stated.  

A link will always use a get request and pass the parameters in the URL, as you are seeing.

Joe
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now