I'm looking to create a metabox with 2 select fields:
1) Post Type select
2) Post select, based on Post Type selected
Essentially, I'd like to limit the posts available to select (2nd field) to the post type selected in the first field (1st field).
So, I'm wondering if I can use JS to modify the post selector query_args somehow?
Hope this is clear. Thanks!