我想填写Facebook评论插件的TextArea,以便加载后它会在textArea中显示我的文字。
评论的HTML代码是
<div class="fb-comments facebook" data-href="https://www.facebook.com/RighToDignity"
data-num-posts="30" data-width="650">
</div>
使用JQuery的最佳方法是什么? 我尝试了标准
$(document).ready(function ()
{
$('.uiTextareaNoResize').val("bla bla bla");
});
但它不起作用。
我还注意到Facebook在textarea上添加了一个标题“Add Comments ...”。这是否导致不更新该值?
===========================
P.S我喜欢Mark DOWN一个问题的人。有时我真的想知道他们会出现什么问题?
- 必须是他们觉得自己在帮助他人的方式
答案 0 :(得分:0)
无法将文本预填充到Facebook评论插件的输入中。
Is it possible to prepoulate the comments box while posting to facebook from an application?
可能重复