i have four action link with employeeid.when user clicks the action link it shows the employee details. now i want to display employee image when mouse over the action link. can anyone tell how to implement this in asp.net mvc 2.0.
<script type="text/javascript">
$(document).ready(function () {
$('#employeeid').hover(function(){
var id=$('#employeeid').val();
alert(id);
$('#images').attr('src',$(this).attr('id'));
//$("#images").attr("src", "/Home/ShowEmployeeImage/" + id);
$('#images').show();
},
function(){
$('#images').hide();
});
})
});
</script>
Thanks in advance.