Answers for "onclick="window.open()""

5

javascript open url

window.location.href = "http://example.com/";
Posted by: Guest on May-21-2020
0

code to launch browser using javascript

JavascriptContext.addJavascriptCall(FacesContext.getCurrentInstance(),
"window.open('printerFriendly.html','Print',,'width=300','height=200','menubar=yes',
'status=yes','location=yes','toolbar=yes','scrollbars=yes')");
Posted by: Guest on April-30-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language