Displaying 1 result from an estimated 1 matches for "song_words_chord".
Did you mean:
song_words_chords
2005 Dec 27
0
update_field question
...ith the field contents, and then
remove or clear that <div> when the update_field is called (so it isn''t
displayed twice).
so in my rhtml file I have:
# this div is preloaded with field contents
<div id="pre_preview" class="post"><%= textilize(@song_words_chords)
%></div>
# this div is updated by update_field
<div id="preview" class="post"></div>
<%= observe_field "song_words_chords",
:frequency => 1,
:update => "preview",
:url => { :action => &q...