0
所以我有一個按鈕,它設置了一個文本框的值。我的問題是我想要添加這個文本,而不是設置,所以我可以繼續按下按鈕,而已經寫入的文本不會被刪除。從文本按鈕到TextArea Javascript
contents: [
{
id: 'something',
elements: [
{
id: 'something2',
type: 'textarea', }
{ id: 'testbutton',
type: 'button',
button: 'button',
label: 'Button1',
onClick: function() {
this._.dialog.setValueOf("something","something2","Text was set ");
}
},]
'This ._。dialog.setValueOf'嘗試'._。dialog.addValueOf' – Anonymous0day
@ Anonymous0day不,它不起作用! – Kostakiiiis
看到我的答案! – Anonymous0day