shingionline
New Member
Hi guys,
I have an input button which is set to open a url:
This works fine except the facebook page opens in the same window, how can i get it to open in a new page it appears the target="_blank" does not work on input buttons
Thanks in advance
I have an input button which is set to open a url:
Code:
<input type="button" value="Go to facebook"
onclick="location.href='http://facebook.com'" target="_blank" />
This works fine except the facebook page opens in the same window, how can i get it to open in a new page it appears the target="_blank" does not work on input buttons
Thanks in advance