You should use a selector. When you have that code interpreted in the ajax response, jQuery doesn't know what "this" are you referring. Better use something like.
You should use a selector. When you have that code interpreted in the ajax response, jQuery doesn't know what "this" are you referring. Better use something like: $('#my-special-div').fadeOut(); $('#my-special-div').parent().
Html(""); $('#my-special-div').fadeIn(); $('#my-special-div'). Function () { $(this).remove(); // here jQuery knows you are talking about 'my-special-div' }).
You should give the element you want to update an ID (I added an element to the hash at the very end): link_to app. Status, { :controller => :apps, :action => :live_status, :id => app }, {:remote => true, :class => "#{app. Status} status", :id => app.Id} Now, you can use that same identifier to select the right element with jQuery: $("#").fadeOut(); $("#").parent().
Html(""); $("#").fadeIn(); Of course, this assumes that @wowza_app has a method called id that returns the same ID of the link, but you can modify the variables as necessary to select the element with the right ID.
Ok, thanks guys. I was trying to avoid just adding in extra IDs, but I guess there really is no harm. – bmck Feb 23 at 4:20.
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.