【发布时间】:2015-01-08 21:46:50
【问题描述】:
我想分享来自 textarea 输入值的文本。
这是我的代码:
<textarea type="text" id="source" tabindex="1" name="source" placeholder="Text to be translated" ></textarea>
<textarea id="results_body" onfocus="ok=1" cols="100" rows="6" style="height:10%;" ></textarea>
<button onclick="window.plugins.socialsharing.share('textarea value')>share only</button>
【问题讨论】:
-
问题是什么?如何获取文本区域值?如果有,是哪个文本区域?
标签: javascript html forms cordova social-networking