problem with button as link in form
I have a login form that has two buttons. One for submitting your login and one for creating a new account. The one for creating a new account opens a new window to the create account page.
is what I use.
<input TYPE="button" value="New User" onClick="window.open('login/create_username.php','Sign Up for Access', 'toolbar=yes, location=yes,menubar=yes,directories=yes,scrollbar=yes,resizable=yes');">
This seems to work in Opera and Mozilla, but no luck in IE. I get a real nice general JS error.
Anyone have any ideas as to how I can make this work out in IE a bit better?