Código Javascript:
Ver original
$(document).ready(function() { // Caching the movieName textbox: var movieName = $('#titulo'); $("select[name=audio]").change(function(){ var lang = $('select[name=audio]').val(); //$('input[name=lang]').val(lang); }); // Using jQuery UI's autocomplete widget: movieName.autocomplete({ minLength : 3, source : 'movieInfo.php', select: function(event, ui) { var pos = ui.item.img; var idp = ui.item.cve; var lang = $('select[name=audio]').val();