If the value is loaded via AJAX, the safest way to make the new value available is to access it from the callback for the AJAX request.
jQuery .load(), , , complete.
$('someElement').load('/some/path', function() {
alert($("#mela").val());
if ($("#mela").val()) {
$("#vv").show();
}
});