Hi there,
I want to put a form into a overlib div.
For Example:
<input type="button" value="Show Form"
onclick="return overlib(''Not
needed'', STICKY, CAPTION, ''The Form'',
CLOSECLICK);">
<div id="overDiv">
<b>never shown</b>
</div>
Now overlib deletes the html inside my div when it shows the popup and
all i see is ''Not Needed''.
What i need to do now is to construct the form in my action and pass it
as a parameter to the overlib call:
<input type="button" value="Show Form"
onclick="return overlib(<%=
@my_form %>...
Although i''m new to rails i realize that this is kind of ugly.
So thought i might ask you guru''s if you know of a nicer way to solve
this problem.
best,
Marc
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---