2012-11-27 32 views
0

我用這樣的命令在JavaScript中關閉了我的模態框架窗口 Drupal.modalFrameChild.triggerParentEvent('childClose',[args,statusMessages])。 但我不知道如何將瀏覽器重定向到特定路徑之後?如何在關閉模式框架窗口後重定向

回答

1

您可以通過window.location.href = url;命令。只需使用url來定義位置!

+0

「Drupal.modalFrameChild.triggerParentEvent('childClose'); window.location.href = url;」 它沒有幫助我,模式窗口關閉但重定向沒有去 – andrem

相關問題