LarrySteele
Programmer
I'm having an odd JavaScript problem. I've searched Google and this forum, but have not found a solution.
From what I can see, this should submit the form. It does not.
However, with this small change, the form will submit:
In the modified function, the alert flashes, goes away (read: not modal), and the form posts.
Any suggestions on what would cause this strange behavior?
TIA,
Larry
Code:
function next_page() {
document.forms["frm_post"].submit();
}
However, with this small change, the form will submit:
Code:
function next_page() {
document.forms["frm_post"].submit();
[COLOR=red]alert("submit the form already");[/color]
}
In the modified function, the alert flashes, goes away (read: not modal), and the form posts.
Any suggestions on what would cause this strange behavior?
TIA,
Larry