-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andrew Kaspick wrote:
> Quick question... how do I prevent the text in an InPlaceEditor from
> being selected once I enter it's edit mode?
The same way you deal with any INPUT[type="text"] elements being focused.
Neither Prototype nor Script.aculo.us do any magic when focusing such
elements, its browser's job to handle it.
If you want to twist that, attach a 'focus' observer on that element to do
that (you know, the usual selection/text range operations). ;-)

- --
Marius Feraru
-----BEGIN PGP SIGNATURE-----

iD8DBQFF17NvtZHp/AYZiNkRAkr0AJ444WzqEQY800+5eDLdmws4CSjIvgCbBosO
OHokhK58ODjMVf3djXDm9CM=
=xWHU
-----END PGP SIGNATURE-----

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffs@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to