button like submit
Moderator: General Moderators
- shiznatix
- DevNet Master
- Posts: 2745
- Joined: Tue Dec 28, 2004 5:57 pm
- Location: Tallinn, Estonia
- Contact:
button like submit
i have a form where when they click on a button a window opens but when i make that button a submit button it changes the page on on and opens the window but when i just make it a button it only opens the window but dosnt process any of the data in the form. how do i go about fixing that?
I think you'll need to use some Javascript. Something like:
But obviously with working JS code..
Code: Select all
onClick="e;window.open(); document.form.submit();"e;