jsf - I need to close the browser window after the update -
I tried to complete the update but after not updating, need to close the browser window.
& lt; P: commandButton value = "# {msg ['BTN-Save']}" Action Listener = "# {WikimboBin.Adapter Model}" Incomplete = "window.close ();" StyleClass = "BTN BTN-Primary" AJAX = "True" & gt; & Lt; / P: CommandButton & gt;
window.close
command will only work in IE Not on Firefox and Chrome, if you look in your Javascript console, you will see a warning on this "scripts only to close the windows that were opened by it".
FYI:
Comments
Post a Comment