html input button onclick open new window

 

 

 

 

HTML HTML. HTML Attribute for onClick "script command(s)". onClick gives the script to run when the user clicks on the input. onClick applies to buttons (submit, reset, and button), checkboxes, radio buttons, and form upload buttons. new paste. trends API tools faq. Guest User.