need help revising this javascript that opens to a new window on submit/post
- by Brad
I have a form that once you select from a drop-down list and select submit, it is suppose to open up to a new window
Here is the code that is currently on the page and I think it needs to be completely wiped out or revised, it only works in IE and Firefox
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
//<!-- Hide JavaScript from older browsers
// Function to open a window
function windowOpen(window_url) {
helpWin = window.open(window_url,'','toolbar=yes,status=no,scrollbars=yes,menubar=yes,resizable=yes,directories=no,location=no,width=350,height=400');
if (document.images) {
if (helpWin) helpWin.focus()
}
}
// End script hiding -->
</SCRIPT>