It's served via an Iframe from Facebook, so you cannot access the content due to the Same Origin Policy. (you cannot do this at all)
How to "focus" on Facebook Comments Plugins' textarea?
-
16-07-2023 - |
Question
I have a button in the html:
<a id="comment">Comment</a>
When it is clicked I want the browser to focus on Facebook comments' textarea. I have:
$("#comment").click(function() {
$("#fb-comments textarea").focus();
});
but it doesn't work
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow