What happens if you set innerHTML for say a span around your textarea
to an empty string? By this I mean you have <span
id="somespan"><textarea></textarea></span>.

You could also

1. Write a kss plugin which enables you to remove focus from your
server side code. There are examples of this from some sprint which I
cannot recall now.

2. Stick a pice of javascript on your textarea, eg.
onClick=set_focus_to_something_else(). But it may be annoying if you
need inline validation on the textarea since you'll keep losing focus.
In some cases onX javascript events on nodes are executed even though
kss bindings exist for those nodes.

I think (1) is the way to go.

Hedley
_______________________________________________
Kss-devel mailing list
Kss-devel@codespeak.net
http://codespeak.net/mailman/listinfo/kss-devel

Reply via email to