How can I set the time of delay of moseover in a on()?

How can I set the time of delay of moseover in a on()?

Hi Guys, I have a problem ... I want execute a function after 5 seconds that the user is on mouse over of a anchor ...

I have an element that is dynamical loaded ... I have to work with .on() ... How can I set the time of delay?


Code HTML:
  1. <a href="#" id="test">Test</a>

Code jQuery:
  1. $(document).on('mouseover', '#test', function(){
  2. alert ("hello");
  3. });

thanks