how do i add a 2nd submit button to a form, that when u click it a new window opens? :bemused:
SoiL wrote:how do i add a 2nd submit button to a form,
how do i add a 2nd submit button to a form,
Pretty much the same way you put the first one in...
that when u click it a new window opens? :bemused:
Aah, that's different, then; you probably need to ask someone who knows about Javascript.
kinda like this.
<html> <head> <Script Language="JavaScript"> function new_window() { window.open('http://www.domain.com','',''); } </Script> </head> <form> <input type='submit' value='new window' onclick="new_window()"> </form> </html>