test of javascript events

This page tests the javascript on change event from https://formidableforms.com/knowledgebase/javascript-examples/

30a Test Javascript on change event
Selecting an option should trigger an onChange event and clear the dropdown below. My id is 1822
My id is 1823
<script type="text/javascript">
jQuery(document).ready(function($){
  $('input[name="item_meta[1822]"]').change(function(){
   select[name="item_meta[1823]"]').val('');
  })
})
</script>