0

I have an iframe which has designMode set to 'on'. In it, I have a div which the user should be able to type in, and also in the iframe, I have another div which the user should NOT be able to type in.

Is there a way to do this? Using contentEditable is not a solution in my case.

Chad Johnson
  • 21,215
  • 34
  • 109
  • 207

1 Answers1

0

Apply both -moz-user-select: none; and -moz-user-modify: read-only to the element. There are also -webkit equivalents. Remember, designMode doesn't work in Internet Explorer.

Chris
  • 9,994
  • 3
  • 29
  • 31