Rjs: using show and hide, vs replace?

i was wondering when to use show and hide vs replace?

for example


<div id ="mynote" ...



when using replace and rendering partial mypartial…would that be the
same as defining the div id “mynote” to display set to hidden and
updating via show/hide?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs