Js.erb renders only once?

Let's clean a little your code; Your button: true %> Your controller: def vote @video = Video. Find(params:id) @video. Increment!(:votes) end your js: $('#success_').

FadeIn('slow'). Delay(1000). FadeOut('slow'); Now run Firebug and trace your ajax calls via cosole.

Thanks for your response. There's no problem with Ajax. The issue is with the pirobox popup.

I had to place the voting mechanism outside the priobox overlay. – santu101 Mar 28 at 16:03.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions