Rank: Advanced Member Groups: Member
Joined: 6/14/2007 Posts: 83
|
Hi,
Could someone help me out how to call a closing an Dialog box through java script? I have an html object in my Dialog that if some one clicks on, calls for a javascript and during execution I'd like to close the dialog just like if they clicked on the <OK> button. I went through several tries like eo_GetObject('dlgMsg').InitialState('hidden'); with no result.
Thanks
Steve Komaromi
Computer Systems Manager, Lead Developer Business Risk Partners, Inc. Tel: 1-(860)-903-0039
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,225
|
Hi, You just close its close method: https://www.essentialobjects.com/doc/jsdoc.public.web.dialog.close.aspxSo it should be something like this:
Code: JavaScript
eo_GetObject('dlgMsg').close();
Thanks
|
Rank: Advanced Member Groups: Member
Joined: 6/14/2007 Posts: 83
|
Works like a charm, thanks
Thanks
Steve Komaromi
Computer Systems Manager, Lead Developer Business Risk Partners, Inc. Tel: 1-(860)-903-0039
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,225
|
You are welcome. Please feel free to let us know if there is anything else.
|