Oooo, complicated...but if it fits your coding style, all good.  Me, I
always try to keep mine as simple as I can so I don't get bit.  Which
happens too often as it is! :P

Tyler

On Oct 1, 11:13 am, Jonathan <[EMAIL PROTECTED]> wrote:
> Hey Dave,
>
> I actually do this on a site that I am working on.
>
> To do it is probably quite weird and silly. But on my form I set a
> QueryString ( sorry asp developer, the stuff after the ?) that just
> says submit=3Dy. Then I check for that. When I find it I do my form
> processing and then write some simple script code that tells the top
> to hide the gb using top.top.gb_hide(); (as Logos talked about in
> another post) I suppose as well though you could just do
> top.top.reload and it will take care of it. I actually have mine
> redirect to another page. I then tell the asp script to stop any other
> responses so the page loads and does it's script thing.
>
> On Sep 30, 1:50 pm, "Dave Tuepah" <[EMAIL PROTECTED]> wrote:
>
> > Works for me!
>
> > Thanks for the tip!
>
> > On Tue, Sep 30, 2008 at 1:49 PM, Logos <[EMAIL PROTECTED]> wrote:
>
> > > I don't know any way to submit a form to itself in a greybox and then
> > > have that same page load in the parent.  I am not sure it is even
> > > possible.  While you may prefer to code that way, I would advise
> > > against it in this instance as it would cause far more heartache and
> > > grief than just submitting to a second page.
>
> > > Tyler
>
> > > On Sep 29, 9:25 am, "Dave Tuepah" <[EMAIL PROTECTED]> wrote:
> > > > And what if I'm submitting it to the same page?  I tend not to write a
> > > form
> > > > submission page, but rather just submit the form to itself if you
> > > follow...
>
> > > > Dave
>
> > > > On Mon, Sep 29, 2008 at 7:43 AM, Logos <[EMAIL PROTECTED]> wrote:
>
> > > > > Hi overkil!  It is easy to do what you are asking.  Whatever page
> > > > > you're submitting the form to in the greybox, add a body onload
> > > > > function to reload the top page.  This will of course close the
> > > > > greybox with no extra coding required.
>
> > > > > (eg) <body onload=' top.location.reload(true);'>
>
> > > > > Tyler
>
> > > > > On Sep 28, 6:40 pm, overkil6 <[EMAIL PROTECTED]> wrote:
> > > > > > All,
>
> > > > > > I am testing GreyBox to see if it will suit my needs.  I am using it
> > > > > > for basic form submission.  How would I close a GreyBox and refresh
> > > > > > the parent on the form submission - is it possible?
>
> > > > > > Cheers!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"GreyBox" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/greybox?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to