jQuery - Fade in dynamic html content


/ Published in: JavaScript
Save to your folder(s)



Copy this code and paste it in your HTML
  1. function showMarino() {
  2. content = '<p>Soomething cool</p>';
  3. $('#thaDiv').hide().html(content).fadeIn('slow');
  4.  
  5. };

Report this snippet


Comments


You need to login to view comments.