문제

How to get and set get multi-line Text value using jquery. I have tried following code to get my Description field value. But it's not working.

$("input[Title='Description Required Field']").val()
도움이 되었습니까?

해결책

Plain Text Multiple field:

Get

$("textarea[title='Description']").val();

Set

$("textarea[title='Description']").val("test");

다른 팁

Get multi-line Text field value :

$("textarea[id^='Description']")[0].innerHTML;

Set multi-line Text field value :

$("textarea[id^='Description']")[0].innerHTML = "Your text";

I hope this helps !!!

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top