Solved

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

Posted on 2011-02-23
3
530 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
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

757 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now