qualcentric-web-solutions / jquery-watermark

Automatically exported from code.google.com/p/jquery-watermark
0 stars 0 forks source link

Cannot set focus on the show password text control in IE8 when using a show password plugin #81

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This is a IE8 issue. I try to use 2 jQuery plugins for the same control. 

What steps will reproduce the problem?
1. Add the showPassword plugin from this location: 
http://unwrongest.com/projects/show-password/. This will clone the password 
type input fields (creates one text input field for showing the password). 
2. Add the watermark call (first call).
3. Add the show Password call.

What is the expected output? What do you see instead?
The watermark is displayed. Also the show/hide password works fine in Firefox, 
Chrome. Only in IE8 when show password is enabled, if the user tries to set 
focus on the control by clicking on the watermark area nothing happens. If the 
user clicks outside the watermark text inside the control then the control has 
the focus. If the show password option is disabled it works fine.

What version of the product are you using? On what operating system?
3.1.3/ windows 7

Please provide any additional information below.

Original issue reported on code.google.com by i97...@gmail.com on 3 Feb 2012 at 6:20

GoogleCodeExporter commented 8 years ago
Of course you can't set focus -- as explained in the documentation the plugin 
has to replace the password element with a generic text element in order to 
display the plain-text watermark.  In those other browsers it's using the 
native watermark functionality, so the plugin doesn't have to create a 
plain-text element.  (And hence you can set focus.)

Original comment by t...@speednet.biz on 13 Aug 2012 at 2:21