Is the edit form a part of your html from the beginning, populating
fields from data on open (preferred)? Or do you open the modal and bring
in the form? In either event, you probably need to add code to your
modal hidden event that will clear the form.
Steve 'Cutter' Blades
Adobe Community
On Tue, Nov 20, 2012 at 3:00 PM, Pete Ruckelshaus pruckelsh...@gmail.comwrote:
I'm using a modal window to edit records. When I click to edit the first
record, it loads the edit window with that records data. Cool. Close the
window, click on the second record, and the data for the first
OK, new (but related) problem.
I'm using a modal window to edit records. When I click to edit the first
record, it loads the edit window with that records data. Cool. Close the
window, click on the second record, and the data for the first record is
still in the form and remains there until I
You will really need to confirm if you do actually have a caching issue. If
you're using Firefox, use Firebug to watch your ajax traffic in the console
view. If you're using Chrome, F12 will pull up the developer tools. I hear
there are other browsers, but you wouldn't be using them, I'm sure.
I'm playing around with Twitter Bootstrap as a UI solution because, well,
my design skills are lacking. I like it so far, but I want to use their
modal windows (not CF's) for forms that I use to add or edit records. The
problem is, how do I pass dynamic variables (i.e. the ID of the record that
Look in the Bootstrap Modal docs under Via Javascript. Specifically I've
used the remote option to accomplish this. That way you can just pull the
modal content off the server on-demand instead of using a static modal.
http://twitter.github.com/bootstrap/javascript.html#modals
-Cameron
On Wed,
Yeah, that's what I get for just glancing at the docs. This
a data-toggle=modal href=remote.html data-target=#modalclick me/a
worked like a charm. Next up, is there a way to submit a form within the
same modal window? Sorry for the questions, I've been doing almost
entirely server-side stuff
On Wed, Nov 14, 2012 at 1:13 PM, Pete Ruckelshaus pruckelsh...@gmail.comwrote:
Yeah, that's what I get for just glancing at the docs. This
a data-toggle=modal href=remote.html data-target=#modalclick me/a
worked like a charm.
Great!
Next up, is there a way to submit a form within the
8 matches
Mail list logo