looking for some help, how to add custom text value to Ajax generated input text field. But cannot get element by id or class, none of the code works. Tried code which one check if regul price not empty, then it should to add text to field, but it doesn't work.
<script type="text/javascript">
if($("#_regular_price").length > 0) {
$("#snippet-editor-field-description").text('labas')
};
</script>
Tried this code as well to check if even work with alert, but it doesn't.
<script type="text/javascript">
$('#snippet-editor-field-description').click( function() {
alert('clicked');
});
</script>
Anyone could asist how to get element and add custom text before Excerpt where is marked yellow?