Scripting Hell in WebPages and Optimal Solution
One pathetic thing I observed in most of the current webpages particularly login websites is the TextBox focus on pageLoad. But the most pathetic thing is an incomplete implementation of just focussing on the textbox regardless of wherever the user is and whatever the user is doing.
Drawback of the current solution: A regular user would be typing his username and started typing password even before the page completes loading. This 'Focus' script starts only on Body Load completes. Now when he is typing the password, the focus shifts and password appears along with the username.
Solution: Have a KeyUp handler and stop onFocus from bieng called if any username type has already begun.
Subscribe to:
Post Comments (Atom)
[Imported from Blogdrive]Online Virus Scanners
Online Virus Scanners Virus Scanners are no longer difficult to install, tedious to configure. There are easy to use Online Virus Scanne...
-
An elegant shortcut for encrypted todolists ... I have been using the following tool called Todolist to manage and streamline my tasks alon...
-
The Lovely C# Switch Case One of the sweet things with a switch case statement in C# is that you have to specify the break statement or a ...
-
Handle your exceptions When you write a program, ensure that you have a good framework being implemented to accomodate for unforeseen ...
No comments:
Post a Comment