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

Popular posts from this blog

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -