search for: some_other_div

Displaying 1 result from an estimated 1 matches for "some_other_div".

Did you mean: some_other_dir
2006 Mar 23
2
ajax replace div
Hi, Using form_remote_tag methode, is there a clean way to directly replace the content of a given div instead of just update it ? If I destroy the content of the div using this code: :success => ''$(\''mydiv'').innerHTML = \''\'''', It works. But it''s not really a clean way... Any suggestions are very welcome.. Thanks. Seb