开发者

jQuery Grab Value of Dynamic Textarea

开发者 https://www.devze.com 2023-01-09 08:29 出处:网络
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 te

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

精彩评论

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