-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>
問題是什麼?如何獲得文本區域值?如果是這樣,哪個文本區? –