我有一个表单,它使用javascript来填充文本区域。用户应该能够复制文本,我已经使用下面的代码使文本区域成为只读的。
<textarea readonly id="newList" name="newList" placeholder="When you click
the button below, your list appears here. Copy and paste it into your
new document. Use CTRL-A to quickly select all items."><
在我的模型中我有
[Display(Prompt="Author First Name",Name="First Name")]
[StringLength(100,ErrorMessage="First Name may not be longer than 100 characters")]
public string AuthFirstName { get; set; }
我有一个String.cshtml文件,
@Html.TextBox("",ViewData.TemplateInfo.FormattedModelVal
我有一个django联系人表单,我希望当光标在字段中时,在表单中找到的初始文本消失。
我的表单现在是:
from django import forms
class ContactForm(forms.Form):
numele_dumneavoastra = forms.CharField(required=True, label="", initial="Numele Dumneavoastra")
numarul_de_telefon = forms.CharField(required=True, label="", i