I need to know how to .append a data-reactid being outputted by a Wordpress plugin application. The example below shows the code that is successfully appending to a div with the id of #div1. This is working great.
How do I perform the same function but append to a specific data-reactid?
<script type="text/javascript">
jQuery(document).ready(function ($) {
$('#div1').append('<div>Some HTML</div>');
});
</script>