You are here: Re: Advanced HTML DOM Issue « HTML « IT news, forums, messages
Re: Advanced HTML DOM Issue

Posted by Michael Winter on 09/28/70 11:57

Whit wrote:

> (Called on onkeyup) I am having 2 problems:
>
> 1. When I replace the users text in the field with the formatted text,
> it forgets where the cursor was, and places it at the end.

Then don't change the text whilst the user is editing it. Perform the
modification in response to the change event; the caret position is
irrelevant then.

[snip]

> Can the cursor be managed?

Fix the cause, not the symptoms.

[snip]

> Could I perhaps build my own custom text field?

With an ActiveX control perhaps (wouldn't know, don't care), but that
would be daft on the Web, and excessive on an intranet.

[snip]

Mike

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация