[removed]() not working, not opening page

后端 未结 5 1374
误落风尘
误落风尘 2020-12-14 16:54

I have a submit button with a onClick:

&
5条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-14 17:07

    I spent 2 days trying every solution shown here and elsewhere, to no avail. Then I removed the form tags, which served no purpose since there was no submit button, and the problem went away using:

    window.location = 'mypage.php', true;
    

提交回复
热议问题