?
Solved

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

Posted on 2011-02-23
3
Medium Priority
?
540 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 2000 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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

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…
Several part series to implement Internet Explorer 11 Enterprise Mode
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…
Suggested Courses

770 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