[Kss-devel] how to remove focus from text <input>?
Brandon Craig Rhodes
brandon at rhodesmill.org
Tue Apr 15 05:40:11 CEST 2008
I have an app with a text field that, once I'm done saving the value
the user entered, I hide with an appropriate adjustment of the form's
class. The problem is that, once the form has its "visibility:
hidden", Firefox still keeps the text cursor in the text field - I can
see it still sitting there, even though the form and text field around
it is now invisible, and I can even see it move back and forth as I
type; and by hitting Enter, I can still submit it!
I see from this web page:
http://codespeak.net/svn/kukit/docs/introducing_kss/trunk/3-shipped-kss-plugins.txt
(which, by the way, is the most complete documentation I have found so
far for KSS) that KSS supports a "focus" action that can *give* focus
to a form field. But I want a "takeFocusAway" action. :-) Does KSS
support anything like that? Or is the whole idea of hiding a form,
when the user is done with it, daft?
Thanks for any advice!
--
Brandon Craig Rhodes brandon at rhodesmill.org http://rhodesmill.org/brandon
More information about the Kss-devel
mailing list