浏览器自动完成/保存的表单不是Ajax请求工作 [英] browser autocomplete/saved form not work in ajax request

查看:273
本文介绍了浏览器自动完成/保存的表单不是Ajax请求工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

它真的很难搜索关键字的任何组合,在搜索引擎这一点,因为它使用最流行的开发者希望通过AJAX的自定义自动完成。

Its really hard to search the any combination of keywords in search engine about this because it used by most popular developer wanted a custom autocomplete by ajax.

大多数开发商的搜索有关自定义自动完成,以获得从数据库通过AJAX或有关如何禁用浏览器自动完成,由于安全原因,或者他们wantted使用另一个自动完成扩展造成的。

Most developer search about the custom autocomplete to get result from db by ajax or about how to disable browser autocomplete due to security reason or they wantted to use another autocomplete extender.

不过,我说的不是自动完成。我发现有关简单普通的浏览器自动完成或浏览器保存的表单或者IE或者FF,将像最近的下拉菜单中选择一个文本框填充的文本中。

However I am not talking about the autocomplete. I finding about simple normal browser autocomplete or browser saved form either IE or FF that will act like dropdown recent choice during filling a text in a textbox.

这简单和正常充盈像用户名和密码登录表单的形式。提交表单(表单数据后)后,浏览器会保存在FF自动完成或事件会要求保存与密码一起。

It simple and normal filling a form like username and password in a login form. After the form submitted (the form data post) browser will save the autocomplete or event in FF will ask to save along with the password.

现在,想想通过AJAX提交的登录。不会自动保存无论是IE或FF的表单数据仅仅是因为没有通过邮寄方式发送的形式。我是pretty的肯定这是因为阿贾克斯VS POST方法。

Now, think about the login submitted via ajax. The form data not automatically saved by either IE or FF simply because the form not sent by post method. I am pretty sure it is because of ajax vs post method.

CMS像DotNetNuke的使用这种方式和它真的很难给我输入用户名和密码5用户登录为发展宗旨,事件我不想让用户保存自己的表单数据在浏览器中没有任何自定义或扩展。举另一个例子,用户可以看到并使用相同的电子邮件,以填补整个网站或域的任何电子邮件的形式。

CMS like DotNetNuke using this way and its really hard to me to type username and password for 5 user login for development purpose, event I want to let user save their own form data in the browser without any custom or extender. By another example, user can see and use same email to fill an any email form across web site or domain.

如何要解决这个吗? 你有建议,哪些关键字更适合搜索?

How to workaround with this? Did you have suggestion what keywords is more suitable to search?

更新时间: 是任何人都得到了线索......

Updated: Is anybody got the clue...

CallMeLaNN

CallMeLaNN

推荐答案

我有同样的问题。我能够加入一个隐藏的iframe,我做我的AJAX前,后通过JavaScript提交给解决了Firefox浏览器。我还没有发现任何东西,在Chrome浏览器/ IE浏览器的工作原理。

I'm having the same problem. I was able to solve it for FireFox by adding a hidden iframe that I submit via JavaScript before doing my AJAX post. I still haven't found anything that works in Chrome/IE.

这篇关于浏览器自动完成/保存的表单不是Ajax请求工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆