You need to sign in to do that
Don't have an account?
Starz26
window.open oncomplete from commandbutton not working
I need to Open a new window after saving an object from the VF Page.
1. Command button calls the method to create the record
2. oncomplete I need to open a popup window.
I tried everything I can think of but for some reason it seems you cannot open a new window after the ajax call...
put thin in your command button and no window will open:
oncomplete="window.open('http://www.google.com'); return false;"
any ideas on how to open a new window after the controller method is finished/
did you check with your pop-up settings ? some times those settings will stop firing thr same
All Answers
did you check with your pop-up settings ? some times those settings will stop firing thr same
That was it......
I forgot that if it was not a direct result of a user click the pop up blocker would kill it...
Thanks