Results 1 to 2 of 2

Thread: determining contenteditable on iframe

  1. #1
    Join Date
    Mar 2006
    Posts
    43
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default determining contenteditable on iframe

    I am using the folowing link
    http://www.dynamicdrive.com/forums/a...p/t-11419.html

    to disable the backspace button from going back one page in the history when focus is on a non-editable iframe.

    I need to be able to determine if the iframe in focus is editable. The contenteditable for each of the iframes is returning 'inherit' when some are editable and some are not.

    is there a way of determining this so that the onkeypress event handler only prevents keycode 8 for non-editable iframes.

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    I can't give you specific info for how to do this, but I will note that it isn't possible to fully control a browser feature such as something to do with navigation, etc., like the backspace button. The browser and whether javascript is or is not enabled will control this. (It may be quite possible in IE, FF, and perhaps others, but it won't cover everything.)
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •