I want change hidden input value from other input value.
This is code:
$(document).ready(function() {
$(\'input:text[name="'.$data['name'].'"]\').keyup(function() {
$(\'input:hidden[id="'.$data['name'].'"]\').val( "'.$data['id'].'," + $(this).val() );
});
});
This code work but i don't know how to change from keyup to always set value even if he does not edit the field and the field contains data from the database If I don't edit the field, it won't load anything into the hidden field
I entered various functions in various ways and nothing
try to use following code , it changes the value of input:text when input:hidden value changes.