Should be a quickie but I just can't get it to work.
I have a form where my users can submit their football picks, when they
click submit I would like another sized window to appear (mnf_scores.htm )
where they can submit a total score for the Monday night football game each
week. From the research I've done I think I need the following:
// If this is change picks, output the submit button and close the form
if ($userfunc==1) {
echo "<p><input type=\"submit\" value=\"Submit Your Picks!\"
onclick=\"windo w.open('mnf_sco res.htm','MNF Scores')\"/></p>\n</form>\n";
}
But that just doesn't seem to work. The submit part works but the subsequent
window is not opened.
Any idea what I'm missing?
Sorry if I'm being dumb.
Thanks in advance,
Nick
I have a form where my users can submit their football picks, when they
click submit I would like another sized window to appear (mnf_scores.htm )
where they can submit a total score for the Monday night football game each
week. From the research I've done I think I need the following:
// If this is change picks, output the submit button and close the form
if ($userfunc==1) {
echo "<p><input type=\"submit\" value=\"Submit Your Picks!\"
onclick=\"windo w.open('mnf_sco res.htm','MNF Scores')\"/></p>\n</form>\n";
}
But that just doesn't seem to work. The submit part works but the subsequent
window is not opened.
Any idea what I'm missing?
Sorry if I'm being dumb.
Thanks in advance,
Nick
Comment