NetTalk Central

Author Topic: Close form manually  (Read 2421 times)

markster

  • Full Member
  • ***
  • Posts: 204
    • View Profile
    • Email
Close form manually
« on: October 26, 2013, 07:02:14 AM »
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.
« Last Edit: October 26, 2013, 10:02:42 AM by markster »