Are you saying that you are trying to create a CSS/HTML-based dialog "pop up" in front of the form to add a new item to the list table via javascript I assume? You could just use javascript to refresh the list, you could also put the list in an iframe and refresh the whole page. It kind of sounds like you're looking for a more artificial refresh. PHP in general is not Model-View-Controller based like rails, so you might take Firebug (a firefox plugin) and look at the rails final product you did and see how you could emulate the rails product in PHP using HTML and JavaScript. I don't know of a quick solution to this in PHP off hand.
Nathan On Tue, Nov 4, 2008 at 8:13 AM, MilesTogoe <[EMAIL PROTECTED]> wrote: > I have the case on a select box needing to have an add capability (popup a > form to add a new element to the list table and refresh the list) without > disturbing the filled in data on the underlaying form. I've seen this done > in Rails but searched around this AM trying to find a cool JQuery lightbox > kind of dialog and didn't see anything like this - does anyone know of a > link to a good example or tutorial of this ? > _______________________________________________ > > UPHPU mailing list > [email protected] > http://uphpu.org/mailman/listinfo/uphpu > IRC: #uphpu on irc.freenode.net > -- Nathan Lane Home, http://www.nathandelane.com Blog, http://nathandelane.blogspot.com _______________________________________________ UPHPU mailing list [email protected] http://uphpu.org/mailman/listinfo/uphpu IRC: #uphpu on irc.freenode.net
