Here is my JS:
I simply trying to modify the text inside the option element in the status select form element in the Edit Post page.
For some reason it does not work. I am using ‘admin_footer’ action to add the JS.
Maybe there is another way?
I also tried this:
jQuery('#post_status option[value="changes-required"]').prop('selected', true);