-2
我想从textarea输入值分享文本。社交分享插件phonegap分享价值
这是我的代码:
<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>
问题是什么?如何获得文本区域值?如果是这样,哪个文本区? –