$(function () { $('#selec').on('change', function () { $('#iframeId').attr('src', $(this).val()); }); });