I have a button that links to a website, but i want it to open in a new window. I know its probably a dumb question but i am very new to javascript. Below is my code. it works but opens in the same window. I have tried a few things and they just arent working
<input type="button" value="eStore"
onclick="location='www.google.com'"
style="width: 88px; text-align: center;" />
is there a way to make it targt_blank to open in a new window? Please and thank you.
Use this: