Displaying 2 results from an estimated 2 matches for "previewmessag".
Did you mean:
previewmessage
2007 Aug 03
1
Prototype AJAX functions.
Hi all!
I have a form that when user fills he will press submit button which
have effect "onClick:previewMessage()". previewMessage() function is
an Ajax.update function.
I would like to know how can I get form data into other file which I''m
accessing with AJAX?
I hope I made myself clear.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscr...
2007 Dec 14
3
Preview Message Before Saving?
Hi all,
I''m sure this is really simple, but I can''t seem to figure it out. I
want to let users preview their messages before submitting. Something in
the form of:
def new
@post = Post.new
end
def preview
#preview message text here
#@post = Post.new(params[:post]) <--?
end
def create
#save message on user''s confirmation
...
@post.save
end
Have any