Solved

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

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Internet is a big network which is formed by connecting multiple small networks.It is a platform for all the users which are connected to it.Internet act as platform in different fields. Such as: Internet  as a collaboration platform. Internet  as…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
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)
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…

813 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

17 Experts available now in Live!

Get 1:1 Help Now