简体   繁体   English

填写用户名和密码后,当我按Enter键无法登录时,即google chrome工作正常。 怎么会?

[英]after filling username and password when i press an enter button unable to login in ie but google chrome is working fine. how come?

I am developing a project in asp.net in sharepoint application. 我正在使用sharepoint应用程序在asp.net中开发一个项目。 I am facing some peculiar problem. 我面临一些特殊的问题。 In my login page i have 2 textbox username and password On filling the username and password field i press enter As usual in most of the application we are able to login when the credentails are okay. 在我的登录页面中,我有2个文本框用户名和密码。在填写用户名和密码字段时,请按Enter。在大多数应用程序中,像往常一样,我们都可以登录。 So i am also able to login but the issue is that in google chrome is working fine. 所以我也可以登录,但问题是在谷歌浏览器中工作正常。 But in internet explorer after pressing the enter key nothing is happening the submit button is not fired where as in google chrome its working fine why so ? 但是在Internet Explorer中,按Enter键后什么也没发生,但未触发“提交”按钮,如在谷歌浏览器中那样正常工作,为什么呢?

I didn't sure if your code is broken or doesn't submit the form if next input is submit after the textbox. 我不确定您的代码是否损坏,或者如果在文本框后提交下一个输入,则不提交表单。

Meanwhile You can write a javascript funcion on Keypress of Input text. 同时,您可以在“输入文字的按键”上编写JavaScript函数。 When keyCode 13 happen you can submit the form through Javascript. 当keyCode 13发生时,您可以通过Javascript提交表单。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 当我在 IE 上按下 Enter 键时触发注销按钮 - Fires logout button when I press enter key on IE 按Enter键登录 - Press Enter Button To Login 按下文本框中的Enter键时按钮触发 - Button firing when I press enter in a textbox 我在 c# 上创建了一个登录页面,当我输入用户名和密码时,我需要打印欢迎来到我的页面。 这怎么可能? - i have created a login page on c# and i need to print welcome to my page when i enter username and password. How is it possible? 当使用Chrome或IE登录Umbraco 5后台时,我被重定向回登录页面,但Firefox可以吗? - When logging into the Umbraco 5 back office using Chrome or IE, I get redirected back to the login page but Firefox is fine? 我希望当我按Enter按钮然后确定按钮工作时 - I want that when I press Enter Button then ok button work 当用户按下输入按钮wpf时,如何在键盘上触发按键事件 - How can I fire a key press event on a keyboard when a user presses enter button wpf winium中如何按回车键 - How to press Enter button in winium 登录后显示用户名不起作用 - Displaying the username after login not working 需要在 C# 中使用用户名和密码创建登录窗口,但是当我输入不正确的用户名或密码时,出现错误 - Need to make a login window with username and password in C# but when i introduce an incorrect username or password i get an error
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM