Is Text Editable
<html> <body> <script language="JavaScript"> function function1(elem) { elem ? alert("Yes") : alert("No"); } </script> <input type="text" id="myInput" value="Input element"> <textarea id="myTxtArea">Textarea element</textarea> <p id="myP">P element</p> <br> <button onclick="function1(myInput.isTextEdit);">Input</button> <button onclick="function1(myTxtArea.isTextEdit);">TextArea</button> <button onclick="function1(myP.isTextEdit);">Paragraph</button> </body> </html>