开发者

jQuery Grab Value of Dynamic Textarea

Suppose you have a textarea (id="fred") that appends (.append()) or replaces (.html()) another element. The textarea's submit button is called via delegate to send the modified text blurb in the textarea... How do you select the modified tex开发者_如何学编程tblurb, as opposed to what was originally put in the textarea via the first delegate?


mea culpa... val() does the trick

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜