JSModalWindow Close and Refresh Question
JSModalWindow Close and Refresh Question
- Subject: JSModalWindow Close and Refresh Question
- From: James Cicenia <email@hidden>
- Date: Wed, 31 Mar 2004 09:19:24 -0600
Hello -
I am a bit confused on bit of JSModalWindow...
On the calling page I have an action that does the usual
nextPage assignment with some initializations and my
window pops up perfectly. Upon cancel I do a
onClick binding with "self.close();";
However I can't seem to figure out how to close the window
on my submit button. It does perform my submits action method,
i.e., it update the database, but it doesn't close the window!?
I have tried binding onClick = "opener.refresh();self.close();";
and
onClick = "self.close();opener.refresh();";
but it neither closes the window or refreshes the window. Any
thoughts here ?
Thanks
-James Cicenia
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.