且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何使用具有元素类型和ID的jquery选择器

更新时间:2022-11-22 22:30:15

由于空格.空格表示textarea中的#myTextArea.

Because of the space. With the space it says the #myTextArea within a textarea.

$("textarea#myTextArea").val(text);