Solved

IE not prompting to Save Username/Password with Javascript form Submit

Posted on 2011-02-23
3
535 Views
Last Modified: 2012-05-11
HI Experts,

I have a Javascript that submits a form for me:
Ex:
  function startLogin(name, value){
                document.login_form.submit();
            }

The problem is that FIREFOX will SAVE the username and password while IE7 will not.  I found that the issue is because IE wants you to use a button to submit the form and not javascript.
Ex:
<form name="login_form">
<input type="submit"> Submit</input>
</form>

My question is: Can I get IE to prompt for a username and password without switching to a "Submit" button?
0
Comment
Question by:Greengiants15
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 5

Accepted Solution

by:
jijeesh earned 500 total points
ID: 34964524
Instead of relay on browser feature, try to use cookies to store data at client side.
You can either use javascript or server side scripting for this purpose.
http://www.thesitewizard.com/javascripts/cookies.shtml
0
 
LVL 31

Expert Comment

by:James Murrell
ID: 36434057
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question