I need to close a form manually, ie within the programming embed code. In the code, I see that the typical generated script is:
p_web.script('$(''#popup_'&lower('SomeForm')&'_div'').dialog(''close'');')
When I put that script (with appropriate procedure name) into a routine and call it, nothing happens. What am I missing?
Regards,
Mark
Followup: it would probably be more accurate to say that instead of wanting to close the form, I want to call another page using a script. For example, I'm on a ResetPassword form and 3 attempts have been made by the user to enter the required info. At that point, I need to run a script that reloads the IndexPage.