Created
October 8, 2015 17:55
-
-
Save chrisgfortes/d4880081d0709e0f6a22 to your computer and use it in GitHub Desktop.
Leitura ou Escrita em elementos html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Para escrever em uma div tem que ser usado o atributo: | |
contenteditable="true" | |
// Para permitir só visualizar um dado no input usar o atributo: | |
readonly="readonly" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment