0

I have a struts application. I want to open a static html page in a new window using window.open(). I tried following but it does not work.

<input type="button" id="" value="Edit" 
        onclick="window.open('primaryLicense.html','Select License Status',
                             'height=400,width=400');" />

Please help

Aleksandr M
  • 24,264
  • 12
  • 69
  • 143
Parag
  • 369
  • 3
  • 8
  • 28

1 Answers1

0

You can use

window.open(url,'_blank');
window.open(url);
Ruby Blood
  • 11
  • 1