Google
 
Webnews.only-4-geeks.com
Interesting places
news.only-4-geeks.com Forum Index » Internet Explorer 6.0

Disable Backspace based on criteria

 
Jump to:  
 
Viral Jain
PostPosted: Thu Aug 21, 2008 7:23 am    Post subject: Disable Backspace based on criteria
       
Hi,

We have created HTML Editor using designMode and contentEditable properties
of Internet Explorer.

User can design the whole page. Our requirement is: We do not want to allow
users to delete any buttons. So, we trapped delete and backspace and other
keys like Ctrl+X. Everything else seem to be working fine except BACKSPACE.

We cannot get the Element/Html/Text that is going to be deleted when
Backspace is pressed. We tried TextRange.move('character', -1); but it does
not move the selection at all.

Could you please help us with this?

Many thanks,
Viral.
 

Page 1 of 1 .:.

Google
 
Webnews.only-4-geeks.com

Windows Update | C++ | C | PHP | JavaScript | Photoshop | Programming | Windows 2000 | Python | Windows XP | Object | Flash | Flash - ActionScript | Paint Shop Pro | Excel | PowerPoint | Access | Word | Windows 98 | Internet Explorer 6.0 | CorelDraw12 | Java | XML | asm x86 | Linux Mandrake | Linux RedHat | Outlook |  | news from newsgroups |_ | s

Web Templates

Awesome Website Templates ©

Pozycjonowanie rozwody Yahoo szybkie kredyty gotówkowe Ściąganie należności