I'm trying to change the contents of the value of the hidden input, but for some reason it does not change, maybe something is wrong?
<script> $(document).ready(function(){ var fieldID = 38; var newValue = '<?php echo strip_tags($expertiza); ?>'; $('#nf-field-' + fieldID).val(newValue).trigger('change'); }); </script>