ruby on rails 4 - JQuery doesn't work unless I refresh -


i'm trying fadein circle in rails 4 app , works when refresh page. jquery far

  $(document).ready(function() {      $(".circle-div").hide().fadein(2000);    }) 

i tried using doing

  $(document).ready(function() {      location.reload($(".circle-div").hide().fadein(2000));    }) 

and reloads pages non stop. appreciated.

give whirl:

$(document).ready(function() {     $(".circle-div").hide().delay(500).fadein(2000); }); 

Comments

Popular posts from this blog

python 3.x - Mapping specific letters onto a list of words -

javascript - jquery or ashx not working -

inno setup - TLabel or TNewStaticText - change .Font.Style on Focus like Cursor changes with .Cursor -