Question: Oracle Apex 5.1, once click the button it will open new window its possible?, any one please provide the sample code

Answer: 
Use the below code

javascript:window.open('f?p=&APP\_ID.:1:&SESSION.:::1:P1\_ID:'+$v("P844\_ID")+','\_blank');
Flow below step

```
Go to Button
Go to button Behavior
Action : Redirect to URL
javascript:window.open('f?p=&APP_ID.:1:&SESSION.::NO:1:P1_PID:'+$v("P2_PID")+'');

```