?
Solved

ASP.NET C# 3.5 Web Application: In Apple Safri Web Browser Wrongly working:- PASSWORD text box need to alert on focus if the end-user client machine keyboard CAPS LOCK ON

Posted on 2011-10-27
3
Medium Priority
?
408 Views
Last Modified: 2012-05-12
Hi TonyReba,

     The javascript give by you (http://www.experts-exchange.com/codeSnippetPopup.jsp?csid=8226601) is working fine in all browsers except APPLIE SFARI WEB BROWSER 5.1.1.

     As per my requirement in the question http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/Q_27394907.html, the required logic is, to enter the password, the enduser should not use CAPS LOCK ON and they SHOULD be using the shift key.

     But if we use the shift key in the SAFARI browser, that is telling the CAPS LOCK IS ON. This is not correct. Please help me to get the solution.
0
Comment
1 Comment
 
LVL 43

Accepted Solution

by:
David S. earned 80 total points
ID: 37068605
The code that TonyReba posted is really old and not particularly well written in the first place. I'm not surprised it doesn't work as expected in some browsers.

Check these out:
http://www.howtocreate.co.uk/jslibs/htmlhigh/capsDetect.html
http://24ways.org/2007/capturing-caps-lock

I suggest you read Some signs that a JavaScript Script was Badly Written.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
A while back, I ran into a situation where I was trying to use the calculated columns feature in SharePoint 2013 to do some simple math using values in two lists. Between certain data types not being accessible, and also with trying to make a one to…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses

839 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