Version: 4.2.2 (using KDE 4.2.2) OS: MS Windows Installed from: MS Windows Run this code: <html> <body> <div><input onfocus="alert('ok')" readonly="readonly" /></div> <div>Click on input element - it should fire onfocus event (alert)</div> <div>- Konqueror: FAILS</div> <div>- IE: OK</div> <div>- Firefox: OK</div> <div>- Opera: OK</div> <div>- Safari: OK</div> <div>- Chrome: OK</div> </body> </html>
Created attachment 32950 [details] source
That's because a readonly element can't receive focus.
Your readonly input behaves like didabled input. Disabled can not be focused (and selected) Readonly can be focused (selected and copied), but not changing. All javascript datachosers, color-pickers do not work on Konqueror (only on Konqueror) because onfocus does not fire. Example 1: http://js.webhelp.pl/js/prz/blatek/datepicker.html Click first (second or third input). Only Konqueror fails. If you want, I can find more examples in internet...
Created attachment 32956 [details] example_2 Example 2: only konqueror can't open datechooser window
Created attachment 32959 [details] example1
Please read carefully W3C: http://www.w3.org/TR/html401/interact/forms.html#adef-readonly Quoted: Read-only elements receive focus but cannot be modified by the user.
*** This bug has been marked as a duplicate of bug 190188 ***