How to change the script AutoTranslate that he worked immediately at boot input?

Hello.
There is a script AutoTranslate (below the listing). The meaning is: one input, we push the fact that in Russian, the second input makes the transliteration. The two fields I have are loaded through ajax into the page code. What in the first input value is already established and need that would once have been transliterated exactly this script, but the transliteration is only when I click on the first input.
How to rewrite this script to add more automatic transliteration when primary testing inputof in the page code?
urlLit function(w,v) {
 var tr='a b v g d e ["zh","j"] z i y k l m n o p r s t u f h c ch sh ["shh","shch"] ~ y ~ e yu ya ~ ["jo","e"]'.split(' ');
 var ww="; w=w.toLowerCase();
 for(i=0; i<w.length; ++i) {
 cc=w.charCodeAt(i); ch=(cc>=1072?tr[cc-1072]:w[i]);
 if(ch.length<3) ww+=ch; else ww+=eval(ch)[v];}
 return(ww.replace(/[^a-zA-Z0-9\-]/g,'-').replace(/[-]{2,}/gim, '-').replace( /^\-+/g, ").replace( /\-+$/g, "));
}

$(document).ready(function() {
 $('.mytranslit').bind('change keyup input click', function(){
$('.mytranslitto').val(urlLit($('.mytranslit').val(),0))
});
});


<input name="h1" class="mytranslit" type="text" value="Here is arbitrary-word" />
<input name="slug" class="mytranslitto" type="text">
April 3rd 20 at 17:43
1 answer
April 3rd 20 at 17:45
Solution
$(document).ready(function() {
 $('.mytranslit').bind('change keyup input click', function(){
$('.mytranslitto').val(urlLit($('.mytranslit').val(),0))
});

 $('.mytranslit').click(); // <----
});

Find more questions by tags JavaScriptjQuery