Rjs: using show and hide, vs replace?

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

for example

index.rhtml

<div id ="mynote" ...

_mypartial.rhtml

...

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