Brandon Craig Rhodes wrote:
> 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. :-) 

I need to check if anything like takeFocusAway exists in browsers... If 
it does, we should add the ability to KSS.

> Does KSS
> support anything like that?  Or is the whole idea of hiding a form,
> when the user is done with it, daft?

I do not know your use case, however, I suspect the idea of hiding the 
form instead of removing it is daft.

I suppose that you submit the form to the server before hiding it. Ido 
not see why the KSS response could not remove the form. If you need the 
form again, just ask it to the server again and insert it...

> 
> Thanks for any advice!
> 


-- 
Godefroid Chapelle (aka __gotcha) http://bubblenet.be
_______________________________________________
Kss-devel mailing list
Kss-devel@codespeak.net
http://codespeak.net/mailman/listinfo/kss-devel

Reply via email to